Land #3521, errant unit test removal

bug/bundler_fix
William Vu 2014-07-14 13:49:07 -05:00
commit a6739718a5
No known key found for this signature in database
GPG Key ID: E761DCB4C1629024
1 changed files with 0 additions and 36 deletions

View File

@ -1,36 +0,0 @@
# -*- coding: binary -*-
require 'test/unit'
# DEFAULTS
module Rex
class Test
$_REX_TEST_NO_MOCK = nil
$_REX_TEST_TIMEOUT = 30
$_REX_TEST_SMB_HOST = '10.4.10.58'
$_REX_TEXT_SMB_USER = 'SMBTest'
$_REX_TEXT_SMB_PASS = 'SMBTest'
# overwrite test defaults with rex/test-config.rb
def self.load()
file = File.join( ENV.fetch('HOME'), '.msf3', 'test')
begin
if File.stat(file + '.rb')
require file
end
rescue
# just ignore the errors
end
end
def self.cantmock()
if (!$_REX_TEST_NO_MOCK)
raise RuntimeError, "*** $_REX_TEST_NO_MOCK must not be set for this test ***", caller
end
end
Rex::Test.load()
end
end