ruby-changes:24016
From: akr <ko1@a...>
Date: Wed, 13 Jun 2012 23:00:43 +0900 (JST)
Subject: [ruby-changes:24016] akr:r36067 (trunk): add a test.
akr 2012-06-13 23:00:33 +0900 (Wed, 13 Jun 2012) New Revision: 36067 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=36067 Log: add a test. Modified files: trunk/test/ruby/test_process.rb Index: test/ruby/test_process.rb =================================================================== --- test/ruby/test_process.rb (revision 36066) +++ test/ruby/test_process.rb (revision 36067) @@ -1446,4 +1446,10 @@ } 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/