$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