diff options
author | onefang | 2019-12-24 15:09:28 +1000 |
---|---|---|
committer | onefang | 2019-12-24 15:09:28 +1000 |
commit | 83c6327d60df855cd56eeffbe72e765d5276067e (patch) | |
tree | e2a52ffb341a4c65afd6a27fc154e33dd2a796cf | |
parent | Clean out left over test. (diff) | |
download | apt-panopticon-83c6327d60df855cd56eeffbe72e765d5276067e.zip apt-panopticon-83c6327d60df855cd56eeffbe72e765d5276067e.tar.gz apt-panopticon-83c6327d60df855cd56eeffbe72e765d5276067e.tar.bz2 apt-panopticon-83c6327d60df855cd56eeffbe72e765d5276067e.tar.xz |
Actually test DEBIAN packages.
-rwxr-xr-x | apt-panopticon.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apt-panopticon.lua b/apt-panopticon.lua index 5cf776e..694e343 100755 --- a/apt-panopticon.lua +++ b/apt-panopticon.lua | |||
@@ -420,6 +420,12 @@ local checkFiles = function (host, ip, path, file) | |||
420 | end | 420 | end |
421 | end | 421 | end |
422 | end | 422 | end |
423 | |||
424 | for i, s in pairs(referenceDebs) do | ||
425 | if checkTimeouts(host, "http", ip .. path .. "/" .. s) then return end | ||
426 | if checkTimeouts(host, "https", ip .. path .. "/" .. s) then return end | ||
427 | end | ||
428 | |||
423 | for i, s in pairs(referenceDevs) do | 429 | for i, s in pairs(referenceDevs) do |
424 | if checkTimeouts(host, "http", ip .. path .. "/" .. s) then return end | 430 | if checkTimeouts(host, "http", ip .. path .. "/" .. s) then return end |
425 | if checkTimeouts(host, "https", ip .. path .. "/" .. s) then return end | 431 | if checkTimeouts(host, "https", ip .. path .. "/" .. s) then return end |