mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Command failed to run just fails
The exact exit status value of command failed to run is not a spec, but a platform dependent implementation detail. Just it is not "success".
This commit is contained in:
parent
a2be428c5f
commit
de8b8b609a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue