1
0
Fork 0
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:
Nobuyoshi Nakada 2020-05-02 22:42:12 +09:00
parent a2be428c5f
commit de8b8b609a
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -40,7 +40,7 @@ describe :kernel_system, shared: true do
$?.should be_an_instance_of Process::Status $?.should be_an_instance_of Process::Status
$?.pid.should be_kind_of(Integer) $?.pid.should be_kind_of(Integer)
$?.exitstatus.should == 127 $?.should_not.success?
end end
it "does not write to stderr when command execution fails" do it "does not write to stderr when command execution fails" do