Skip to content

Commit

Permalink
add a test.
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
akr committed Jun 13, 2012
1 parent bff44ef commit a29bdaf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/ruby/test_process.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1446,4 +1446,10 @@ def test_sh_env
}
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

0 comments on commit a29bdaf

Please sign in to comment.