From 8c71df2af5ef281849b56eebfa42ad8372c3edca Mon Sep 17 00:00:00 2001 From: Daniel Pittman Date: Tue, 7 Jun 2011 17:05:14 -0700 Subject: 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. --- acceptance/tests/ticket_7728_don't_log_whits_on_failure.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"] } -- cgit