aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_rubyoptions.rb2
1 files changed, 1 insertions, 1 deletions
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