summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-09-21 21:38:40 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-09-21 21:38:40 +0000
commita468c15b6c3d1bd86c846cd0db44d8ca207b2bec (patch)
treeb2581d0c6da4ae779105b3b10c5a95be51e7e22d
parent64a3392c7ca172e400ba36c43724b3fbf5f75b4c (diff)
downloadpuppet-a468c15b6c3d1bd86c846cd0db44d8ca207b2bec.tar.gz
puppet-a468c15b6c3d1bd86c846cd0db44d8ca207b2bec.tar.xz
puppet-a468c15b6c3d1bd86c846cd0db44d8ca207b2bec.zip
Disabling a test on solaris, since apparently sh on solaris is different than everywhere else
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1654 980ebf18-57e1-0310-9a29-db15c13687c0
-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"],