summaryrefslogtreecommitdiff
path: root/test/scanf/test_scanf.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/scanf/test_scanf.rb')
-rw-r--r--test/scanf/test_scanf.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/scanf/test_scanf.rb b/test/scanf/test_scanf.rb
index 2890a3a038..d2e7aa988f 100644
--- a/test/scanf/test_scanf.rb
+++ b/test/scanf/test_scanf.rb
@@ -297,7 +297,7 @@ class TestIOScanf
include Scanf
extend ScanfTests
- tmpfilename = "#{Dir.tmpdir}/iotest.dat"
+ tmpfilename = "#{Dir.tmpdir}/iotest.dat.#{$$}"
i = 1
self.tests.each do |test|