diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-06-13 14:00:33 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-06-13 14:00:33 +0000 |
commit | a29bdaf63f941f760d6a2e4a42b1b6789e861550 (patch) | |
tree | 5be8f2e7e212d5168c3e7fed2641ceec517670d3 | |
parent | bff44ef4cd69dd073fbe85384c4eeff71cb8150f (diff) | |
download | ruby-a29bdaf63f941f760d6a2e4a42b1b6789e861550.tar.gz |
add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | test/ruby/test_process.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/ruby/test_process.rb b/test/ruby/test_process.rb index 762036a163..d55496fb05 100644 --- a/test/ruby/test_process.rb +++ b/test/ruby/test_process.rb @@ -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 |