1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

add a test.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2012-06-13 14:00:33 +00:00
parent bff44ef4cd
commit a29bdaf63f

View file

@ -1446,4 +1446,10 @@ class TestProcess < Test::Unit::TestCase
}
end if File.executable?("/bin/sh")
def test_sh_exec
IO.popen("exec echo exexexec") {|f|
assert_equal("exexexec\n", f.read)
}
end if File.executable?("/bin/sh")
end