summaryrefslogtreecommitdiff
path: root/spec/ruby
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby')
-rw-r--r--spec/ruby/core/kernel/system_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/kernel/system_spec.rb b/spec/ruby/core/kernel/system_spec.rb
index 96c0496dd6..9196a9f9f1 100644
--- a/spec/ruby/core/kernel/system_spec.rb
+++ b/spec/ruby/core/kernel/system_spec.rb
@@ -40,7 +40,7 @@ describe :kernel_system, shared: true do
$?.should be_an_instance_of Process::Status
$?.pid.should be_kind_of(Integer)
- $?.exitstatus.should == 127
+ $?.should_not.success?
end
it "does not write to stderr when command execution fails" do