Sha256: 4957cada4ed6d3b845b1081d914b3681eb86595f559d9d055eea10adaa839fe7

Contents?: true

Size: 484 Bytes

Versions: 18

Compression:

Stored size: 484 Bytes

Contents

# This test is intended to ensure that the --debug command-line option works
# properly. This option prints debugging information to stderr.
test_name "C63191: --debug command-line option prints debugging information to stderr" do

  agents.each do |agent|
    step "Agent #{agent}: retrieve debug info from stderr using --debug option" do
      on(agent, facter('--debug')) do
        assert_match(/DEBUG/, stderr, "Expected DEBUG information in stderr")
      end
    end
  end
end

Version data entries

18 entries across 18 versions & 2 rubygems

Version Path
facter-4.0.29 acceptance/tests/options/debug.rb
facter-4.0.28 acceptance/tests/options/debug.rb
facter-3.12.2.cfacter.20181217 ext/facter/facter/acceptance/tests/options/debug.rb
facter-3.12.1.cfacter.20181031 ext/facter/facter/acceptance/tests/options/debug.rb
facter-3.11.6.cfacter.20181031 ext/facter/facter/acceptance/tests/options/debug.rb
facter-3.12.1.cfacter.20181023 ext/facter/facter/acceptance/tests/options/debug.rb
facter-3.11.5.cfacter.20181022 ext/facter/facter/acceptance/tests/options/debug.rb
facter-3.12.0.cfacter.20181004 ext/facter/facter/acceptance/tests/options/debug.rb
facter-3.12.0.cfacter.20181001 ext/facter/facter/acceptance/tests/options/debug.rb
facter-3.12.0.cfacter.20180918 ext/facter/facter/acceptance/tests/options/debug.rb
facter-3.11.4.cfacter.20180821 ext/facter/facter/acceptance/tests/options/debug.rb
facter-3.11.3.cfacter.20180716 ext/facter/facter/acceptance/tests/options/debug.rb
facter-3.11.2.cfacter.20180612 ext/facter/facter/acceptance/tests/options/debug.rb
facter-3.9.6.cfacter.20180612 ext/facter/facter/acceptance/tests/options/debug.rb
facter-3.11.2.cfacter.20180606 ext/facter/facter/acceptance/tests/options/debug.rb
facter-3.9.6.cfacter.20180606 ext/facter/facter/acceptance/tests/options/debug.rb
facter-3.11.0.cfacter.20180319 ext/facter/facter/acceptance/tests/options/debug.rb
cfacter-3.11.0.rc.20180314 ext/facter/facter/acceptance/tests/options/debug.rb