summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-17 10:36:29 +0000
committerkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-17 10:36:29 +0000
commit39b1198410c6183c73513eea43cdfbfae65b1c88 (patch)
tree71d0238faf71d058eff44ade05206b6384bd1d5f
parent60fdd0f0f56747b0bf0f91903636f9989e8fd577 (diff)
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
-rw-r--r--ChangeLog7
-rw-r--r--test/ruby/test_rubyoptions.rb2
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index bd394ea441..2c7623dff8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
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