aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test2015
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2012-06-29 15:44:50 +0200
committerYang Tse <yangsita@gmail.com>2012-06-29 15:44:50 +0200
commit7747136421e9cd498a00e841f1c236c8e6cb78b5 (patch)
tree155299979278148bcade3cd6eb609b45f6787962 /tests/data/test2015
parentdd707b746fcb14e4336175be2946ed9c082e6dc7 (diff)
test2005 to test2016: improve failure detection
Diffstat (limited to 'tests/data/test2015')
-rw-r--r--tests/data/test20154
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/data/test2015 b/tests/data/test2015
index 45646f2de..e4d09d50e 100644
--- a/tests/data/test2015
+++ b/tests/data/test2015
@@ -35,7 +35,7 @@ file
Metalink
</features>
<name>
-Metalink local XML file, attempt path relative to upper
+Metalink local XML file, attempt UNIX path relative to upper
</name>
<command option="no-output,no-include">
--metalink file://%PWD/log/test2015.metalink
@@ -72,7 +72,7 @@ Metalink: parsing (file://%PWD/log/test2015.metalink) WARNING (missing or invali
Metalink: parsing (file://%PWD/log/test2015.metalink) FAILED
</file2>
<stripfile2>
-$_ = '' if ($_ !~ /^Metalink: /)
+$_ = '' if (($_ !~ /^Metalink: /) && ($_ !~ /error/i) && ($_ !~ /warn/i))
</stripfile2>
</verify>
</testcase>