Sha256: 5ccfa7e9a53b46c1ebf26d36b5b7792fcbcadc9cb2c24f5bd830ede3f2f92959
Contents?: true
Size: 548 Bytes
Versions: 16
Compression:
Stored size: 548 Bytes
Contents
# This test is intended to ensure that the --help command-line option works # properly. This option prints usage information and available command-line # options. test_name "C99984: --help command-line option prints usage information to stdout" do agents.each do |agent| step "Agent #{agent}: retrieve usage info from stdout using --help option" do on(agent, facter('--help')) do assert_match(/facter \[options\] \[query\] \[query\] \[...\]/, stdout, "Expected stdout to contain usage information") end end end end
Version data entries
16 entries across 16 versions & 2 rubygems