aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-06-13 14:00:33 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-06-13 14:00:33 +0000
commita29bdaf63f941f760d6a2e4a42b1b6789e861550 (patch)
tree5be8f2e7e212d5168c3e7fed2641ceec517670d3 /test/ruby
parentbff44ef4cd69dd073fbe85384c4eeff71cb8150f (diff)
downloadruby-a29bdaf63f941f760d6a2e4a42b1b6789e861550.tar.gz
add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_process.rb6
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