From 903046aa4835611c110a7d8b0831b176b8a1bcad Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 28 Dec 2014 00:24:47 +0000 Subject: test_io_console.rb: different names * test/io/console/test_io_console.rb (test_noctty): use different names for each tempfiles. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/io/console/test_io_console.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/io/console') diff --git a/test/io/console/test_io_console.rb b/test/io/console/test_io_console.rb index 3481a2b213..a44e5ffff9 100644 --- a/test/io/console/test_io_console.rb +++ b/test/io/console/test_io_console.rb @@ -289,9 +289,9 @@ class TestIO_Console < Test::Unit::TestCase require 'tempfile' NOCTTY = noctty def test_noctty - t = Tempfile.new("console") + t = Tempfile.new("noctty_out") t.close - t2 = Tempfile.new("console") + t2 = Tempfile.new("noctty_run") t2.close cmd = [*NOCTTY[1..-1], '-e', 'open(ARGV[0], "w") {|f|', -- cgit v1.2.3