summaryrefslogtreecommitdiff
path: root/tests/data/test2011
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/test2011
parentdd707b746fcb14e4336175be2946ed9c082e6dc7 (diff)
downloadcurl-7747136421e9cd498a00e841f1c236c8e6cb78b5.tar.gz
test2005 to test2016: improve failure detection
Diffstat (limited to 'tests/data/test2011')
-rw-r--r--tests/data/test20112
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/data/test2011 b/tests/data/test2011
index 6a06146c4..7cce8c538 100644
--- a/tests/data/test2011
+++ b/tests/data/test2011
@@ -87,7 +87,7 @@ Metalink: validating (log/download2011)...
Metalink: validating (log/download2011) FAILED (digest mismatch)
</file3>
<stripfile3>
-$_ = '' if ($_ !~ /^Metalink: /)
+$_ = '' if (($_ !~ /^Metalink: /) && ($_ !~ /error/i) && ($_ !~ /warn/i))
</stripfile3>
</verify>
</testcase>