test/ruby/find_executable.rb
test/ruby/test_rubyoptions.rb (test_program_name): use expected ps command from PATH.
test/ruby/find_executable.rb (EnvUtil#find_executable): find expected executable path with argument and output pattern.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
test/ruby/find_executable.rb
test/ruby/test_rubyoptions.rb (test_program_name): use expected
ps command from PATH.
test/ruby/find_executable.rb (EnvUtil#find_executable): find
expected executable path with argument and output pattern.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e