Sha256: 41777821bf19ce03a76bc6ab38d7b0b1e0181ecb5e9f4c9a6da8c7c5100c11e5

Contents?: true

Size: 550 Bytes

Versions: 2

Compression:

Stored size: 550 Bytes

Contents

# This test is intended to ensure that the --verbose command-line option
# works properly. This option provides verbose (INFO) output to stderr.
test_name "C99986: --verbose command-line option prints verbose information to stderr" do

  agents.each do |agent|
    step "Agent #{agent}: retrieve verbose info from stderr using --verbose option" do
      on(agent, facter('--verbose')) do
        assert_match(/INFO .* executed with command line: --verbose/, stderr, "Expected stderr to contain verbose (INFO) statements")
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
facter-4.0.29 acceptance/tests/options/verbose.rb
facter-4.0.28 acceptance/tests/options/verbose.rb