Manually merged DNS extension code (pull request 967 from @soh-cah-toa)
This commit is contained in:
@@ -12,12 +12,13 @@ class TC_Grep < Test::Unit::TestCase
|
||||
File.open( path ) do |f|
|
||||
next if /tc_grep.rb/.match(path) # skip this file
|
||||
next if /\/msf-test\//.match(path) # skip this file
|
||||
next if /extensions\/dns/.match(path) # skip this file
|
||||
|
||||
f.grep( /\Weval\W/im ) do |line|
|
||||
assert(false, "Illegal use of 'eval' in framework: " + path + ':' + line)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user