Sha256: 8a49d6312ae101270db663c801330cd2a7d43c9c4385cd8a4d8f670168a11932
Contents?: true
Size: 493 Bytes
Versions: 18
Compression:
Stored size: 493 Bytes
Contents
# This test is intended to ensure that the --version command-line option works # properly. This option outputs the current Facter version. test_name "C99983: --version command-line option returns the version string" do agents.each do |agent| step "Agent #{agent}: retrieve version info using the --version option" do on(agent, facter('--version')) do assert_match(/\d+\.\d+\.\d+/, stdout, "Output #{stdout} is not a recognized version string") end end end end
Version data entries
18 entries across 18 versions & 2 rubygems