summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtest/types/exec.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/types/exec.rb b/test/types/exec.rb
index 4719e0baa..d51af1736 100755
--- a/test/types/exec.rb
+++ b/test/types/exec.rb
@@ -524,6 +524,8 @@ class TestExec < Test::Unit::TestCase
end
def test_missing_checks_cause_failures
+ # Solaris's sh exits with 1 here instead of 127
+ return if Facter.value(:operatingsystem) == "Solaris"
exec = Puppet::Type.newexec(
:command => "echo true",
:path => ENV["PATH"],