1
test_name "#7728: Don't log whits on resource failure"
5
exec { "test": command => "false", path => ['/bin', '/usr/bin'] }
7
notify { "before": before => Exec["test"] }
8
notify { "after": require => Exec["test"] }
14
apply_manifest_on(agents, manifest) do
15
assert_match(Regexp.new(Regexp.quote('notice: /Stage[main]/Foo/Notify[after]: Dependency Exec[test] has failures: true')), stdout, "the after dependency must be reported")
16
assert_no_match(Regexp.new(Regexp.quote('Class[Foo]')), stdout, 'the class should not be mentioned')
17
assert_no_match(Regexp.new(Regexp.quote('Stage[Main]')), stdout, 'the class should not be mentioned')