Please review pull request #502: re-fix acceptance test related to logging changes opened by (cprice-puppet)
Description:
- Opened: Wed Feb 15 17:37:33 UTC 2012
- Based on: puppetlabs:master (dae9468f8bf2e76d19f62c270cc9274dab119876)
- Requested merge: cprice-puppet:bugs/master/fix_stderr_acceptance_tests (79c0ac2a01efc647718c7eacbb55db2560eb814c)
Diff follows:
diff --git a/acceptance/tests/resource/file/ticket_8740_should_not_enumerate_root_directory.rb b/acceptance/tests/resource/file/ticket_8740_should_not_enumerate_root_directory.rb
index a918f8c..6cef569 100644
--- a/acceptance/tests/resource/file/ticket_8740_should_not_enumerate_root_directory.rb
+++ b/acceptance/tests/resource/file/ticket_8740_should_not_enumerate_root_directory.rb
@@ -16,7 +16,7 @@
step "query for all files, which should return nothing"
on(agent, puppet_resource('file'), :acceptable_exit_codes => [1]) do
- assert_match(%r{Listing all file instances is not supported. Please specify a file or directory, e.g. puppet resource file /etc}, stderr)
+ assert_match(%r{Listing all file instances is not supported. Please specify a file or directory, e.g. puppet resource file /etc}, stdout)
end
["/", "/etc"].each do |file|
-- You received this message because you are subscribed to the Google Groups "Puppet Developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en.
