From febd59859725e8792b02374daa099ffb3972624d Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Fri, 29 Jun 2012 16:02:10 +0200 Subject: test2017 to test2022: more metalink tests With this commit, checks done in previous test2017 are now done in test2018. Whole range test2017 to test2022 DISABLED until configure is capable of requiring a new-enough metalink library. Don't try these without mentioned check in place! --- tests/data/test2017 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/data/test2017') diff --git a/tests/data/test2017 b/tests/data/test2017 index f4312c47b..52df14e38 100644 --- a/tests/data/test2017 +++ b/tests/data/test2017 @@ -35,7 +35,7 @@ file Metalink -Metalink local XML file, attempt questionable file name +Metalink local XML file, attempt UNIX home path traversal --metalink file://%PWD/log/test2017.metalink @@ -45,7 +45,7 @@ Metalink local XML file, attempt questionable file name - + c7d03debe90ca29492203ea921d76941fa98640cf3b744f2a16c9b58465eab82 @@ -57,7 +57,7 @@ Metalink local XML file, attempt questionable file name -perl %SRCDIR/libtest/notexists.pl log/2017 log/name2017 log/.download2017 +perl %SRCDIR/libtest/notexists.pl log/2017 log/name2017 @@ -72,7 +72,7 @@ Metalink: parsing (file://%PWD/log/test2017.metalink) WARNING (missing or invali Metalink: parsing (file://%PWD/log/test2017.metalink) FAILED -$_ = '' if ($_ !~ /^Metalink: /) +$_ = '' if (($_ !~ /^Metalink: /) && ($_ !~ /error/i) && ($_ !~ /warn/i)) -- cgit v1.2.3