ruby-changes:19564
From: kosaki <ko1@a...>
Date: Tue, 17 May 2011 19:40:27 +0900 (JST)
Subject: [ruby-changes:19564] kosaki:r31605 (trunk): Fix FreeBSD test failure.
kosaki 2011-05-17 19:36:29 +0900 (Tue, 17 May 2011) New Revision: 31605 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=31605 Log: 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. Modified files: trunk/ChangeLog trunk/test/ruby/test_rubyoptions.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 31604) +++ ChangeLog (revision 31605) @@ -1,3 +1,10 @@ +Tue May 17 19:35:01 2011 KOSAKI Motohiro <kosaki.motohiro@g...> + 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. + Tue May 17 08:04:26 2011 Martin Bosslet <Martin.Bosslet@g...> * ext/openssl/ossl_digest.c: Add documentation. Index: test/ruby/test_rubyoptions.rb =================================================================== --- test/ruby/test_rubyoptions.rb (revision 31604) +++ test/ruby/test_rubyoptions.rb (revision 31605) @@ -404,7 +404,7 @@ 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/