From 7747136421e9cd498a00e841f1c236c8e6cb78b5 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Fri, 29 Jun 2012 15:44:50 +0200 Subject: test2005 to test2016: improve failure detection --- tests/data/test2014 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/data/test2014') diff --git a/tests/data/test2014 b/tests/data/test2014 index 659bc9221..01dc8b31b 100644 --- a/tests/data/test2014 +++ b/tests/data/test2014 @@ -35,7 +35,7 @@ file Metalink -Metalink local XML file, attempt path relative to current +Metalink local XML file, attempt UNIX path relative to current --metalink file://%PWD/log/test2014.metalink @@ -72,7 +72,7 @@ Metalink: parsing (file://%PWD/log/test2014.metalink) WARNING (missing or invali Metalink: parsing (file://%PWD/log/test2014.metalink) FAILED -$_ = '' if ($_ !~ /^Metalink: /) +$_ = '' if (($_ !~ /^Metalink: /) && ($_ !~ /error/i) && ($_ !~ /warn/i)) -- cgit v1.2.3