Commented out the tests for DNS code.

This commit is contained in:
antisnatchor
2014-03-02 16:14:56 +00:00
parent 91fa8f4e63
commit 2f7ccf033c
2 changed files with 3 additions and 2 deletions

View File

@@ -296,6 +296,7 @@ class TC_Dns < Test::Unit::TestCase
# Compares output of dig command against regex
def check_dns_response(regex, type, pattern)
#TODO antisnatchor: dangerous, replace with IO.open([param_array]) as in web_cloner.rb
dig_output = `dig @#{@@dns.address} -p #{@@dns.port} -t #{type} #{pattern}`
assert_match(regex, dig_output)
end