diff --git a/test/types/exec.rb b/test/types/exec.rb
index <HASH>..<HASH> 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"],
Disabling a test on solaris, since apparently sh on solaris is different than everywhere else

git-svn-id: <URL>