diff options
| author | Daniel Pittman <daniel@puppetlabs.com> | 2011-06-07 17:05:14 -0700 |
|---|---|---|
| committer | Daniel Pittman <daniel@puppetlabs.com> | 2011-06-07 17:05:14 -0700 |
| commit | 8c71df2af5ef281849b56eebfa42ad8372c3edca (patch) | |
| tree | 54c8ba852fb1b75445c739de6885821c7d3cffa3 | |
| parent | 54632867f7e2b97b47b0a6855196a52eb64ea92a (diff) | |
| download | puppet-8c71df2af5ef281849b56eebfa42ad8372c3edca.tar.gz puppet-8c71df2af5ef281849b56eebfa42ad8372c3edca.tar.xz puppet-8c71df2af5ef281849b56eebfa42ad8372c3edca.zip | |
maint: acceptance tests need to search for bin/false
Because Mac and Linux systems hide bin/false in different places, we should
have the catalog we are testing with search for it in the candidate places.
| -rw-r--r-- | acceptance/tests/ticket_7728_don't_log_whits_on_failure.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/acceptance/tests/ticket_7728_don't_log_whits_on_failure.rb b/acceptance/tests/ticket_7728_don't_log_whits_on_failure.rb index 0d4dd6b5d..0941c030c 100644 --- a/acceptance/tests/ticket_7728_don't_log_whits_on_failure.rb +++ b/acceptance/tests/ticket_7728_don't_log_whits_on_failure.rb @@ -2,7 +2,7 @@ test_name "#7728: Don't log whits on resource failure" manifest = %Q{ class foo { - exec { "test": command => "/usr/bin/false" } + exec { "test": command => "false", path => ['/bin', '/usr/bin'] } notify { "before": before => Exec["test"] } notify { "after": require => Exec["test"] } |
