From a29bdaf63f941f760d6a2e4a42b1b6789e861550 Mon Sep 17 00:00:00 2001 From: akr Date: Wed, 13 Jun 2012 14:00:33 +0000 Subject: add a test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_process.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test/ruby') 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 -- cgit v1.2.3