mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
60fdd0f0f5
commit
39b1198410
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
|||
Tue May 17 19:35:01 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||
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@googlemail.com>
|
||||
|
||||
* ext/openssl/ossl_digest.c: Add documentation.
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue