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

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