diff options
author | danielsdeleo <dan@getchef.com> | 2014-03-31 11:03:05 -0700 |
---|---|---|
committer | danielsdeleo <dan@getchef.com> | 2014-03-31 11:03:05 -0700 |
commit | 342213e7425c85fbf90c82cbddc55079d05f42f4 (patch) | |
tree | 3be300d43670b78fd2b25b958958f025d111da2b /spec/mixlib/shellout_spec.rb | |
parent | 6faa04e8c173e5c1f029a0d378c991a9a908dc36 (diff) | |
download | mixlib-shellout-342213e7425c85fbf90c82cbddc55079d05f42f4.tar.gz |
Exclude ESRCH test from windows
Diffstat (limited to 'spec/mixlib/shellout_spec.rb')
-rw-r--r-- | spec/mixlib/shellout_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/mixlib/shellout_spec.rb b/spec/mixlib/shellout_spec.rb index 03bb47b..3be0d27 100644 --- a/spec/mixlib/shellout_spec.rb +++ b/spec/mixlib/shellout_spec.rb @@ -846,7 +846,7 @@ describe Mixlib::ShellOut do context "when the child process dies immediately" do let(:cmd) { [ 'exit' ] } - it "handles ESRCH from getpgid of a zombie" do + it "handles ESRCH from getpgid of a zombie", :unix_only do Process.stub(:setsid) { exit!(4) } # there is a small race condition here if the child doesn't get |