Sha256: 2dea728c9ceaf3ad759d6f3bc0f5e33f6b54ead93ec22e48260260ece0bd1cb1
Contents?: true
Size: 590 Bytes
Versions: 1
Compression:
Stored size: 590 Bytes
Contents
$LOAD_PATH.unshift File.dirname(__FILE__) + '/../lib' require 'minitest/autorun' require_relative 'test_helper' require 'facter' IPMI_PATH = '/bin/bash test/bin/ipmiutil' require 'facter/onering_properties_physical' class IpmiTest < MiniTest::Unit::TestCase include FileUtils def setup end def teardown rm_rf 'foo-sandbox' end def with_cwd(dir) Dir.chdir dir do yield end end def test_sanity # sanity assert_match(/\d*.\d*.\d*.\d*/, Facter.fact(:netmask).value) end def test_ipmi_ok_timeout assert_equal false, ipmi_ok? end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
onering-report-0.6.6 | test/ipmi_test.rb |