summaryrefslogtreecommitdiff
path: root/test/test_pty.rb
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-12-22 15:10:20 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-12-22 15:10:20 +0000
commit37b79d03a6ed4c6eee5d15a76b44334832796c83 (patch)
tree5436c88b2921175e391051ba159eb3b8d2b12f2a /test/test_pty.rb
parent92c5d84a4000ae496b92ef2313a1f1038abb3442 (diff)
* test/test_pty.rb (test_pty_check_default): "cat" may not terminateed
in the 0.1 second. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/test_pty.rb')
-rw-r--r--test/test_pty.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_pty.rb b/test/test_pty.rb
index 80cc02c72e..6236e7c627 100644
--- a/test/test_pty.rb
+++ b/test/test_pty.rb
@@ -177,7 +177,7 @@ class TestPTY < Test::Unit::TestCase
end
assert_equal(pid, st1.pid) if st1
assert_nil(st1)
- assert_equal(pid, st2.pid)
+ assert_equal(pid, st2.pid) if st2
end
def test_pty_check_raise