From 39b1198410c6183c73513eea43cdfbfae65b1c88 Mon Sep 17 00:00:00 2001 From: kosaki Date: Tue, 17 May 2011 10:36:29 +0000 Subject: Fix FreeBSD test failure. * test/ruby/test_rubyoptions.rb (TestRubyOptions#test_set_program_name): use ps -o command instead of ps -o cmd. FreeBSD doesn't support -o cmd option. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_rubyoptions.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/ruby') diff --git a/test/ruby/test_rubyoptions.rb b/test/ruby/test_rubyoptions.rb index d0522da06c..0d2bf747cc 100644 --- a/test/ruby/test_rubyoptions.rb +++ b/test/ruby/test_rubyoptions.rb @@ -404,7 +404,7 @@ class TestRubyOptions < Test::Unit::TestCase skip if /linux|freebsd|netbsd|openbsd/ !~ RUBY_PLATFORM $0 = 'hello world' - ps = `ps -p #{$$} -o cmd` + ps = `ps -p #{$$} -o command` assert_match(/hello world/, ps) end -- cgit v1.2.3