test2005 to test2016: improve failure detection
This commit is contained in:
@@ -35,7 +35,7 @@ file
|
||||
Metalink
|
||||
</features>
|
||||
<name>
|
||||
Metalink local XML file, attempt path traversal
|
||||
Metalink local XML file, attempt UNIX path traversal
|
||||
</name>
|
||||
<command option="no-output,no-include">
|
||||
--metalink file://%PWD/log/test2016.metalink
|
||||
@@ -72,7 +72,7 @@ Metalink: parsing (file://%PWD/log/test2016.metalink) WARNING (missing or invali
|
||||
Metalink: parsing (file://%PWD/log/test2016.metalink) FAILED
|
||||
</file2>
|
||||
<stripfile2>
|
||||
$_ = '' if ($_ !~ /^Metalink: /)
|
||||
$_ = '' if (($_ !~ /^Metalink: /) && ($_ !~ /error/i) && ($_ !~ /warn/i))
|
||||
</stripfile2>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
||||
Reference in New Issue
Block a user