summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordanielsdeleo <dan@getchef.com>2014-03-31 11:03:05 -0700
committerdanielsdeleo <dan@getchef.com>2014-03-31 11:03:05 -0700
commit342213e7425c85fbf90c82cbddc55079d05f42f4 (patch)
tree3be300d43670b78fd2b25b958958f025d111da2b
parent6faa04e8c173e5c1f029a0d378c991a9a908dc36 (diff)
downloadmixlib-shellout-342213e7425c85fbf90c82cbddc55079d05f42f4.tar.gz
Exclude ESRCH test from windows
-rw-r--r--spec/mixlib/shellout_spec.rb2
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