mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
test2005 to test2016: improve failure detection
This commit is contained in:
parent
dd707b746f
commit
7747136421
@ -87,7 +87,7 @@ Metalink: validating (log/download2005)...
|
||||
Metalink: validating (log/download2005) OK
|
||||
</file3>
|
||||
<stripfile3>
|
||||
$_ = '' if ($_ !~ /^Metalink: /)
|
||||
$_ = '' if (($_ !~ /^Metalink: /) && ($_ !~ /error/i) && ($_ !~ /warn/i))
|
||||
</stripfile3>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
@ -106,7 +106,7 @@ Metalink: validating (log/download2006)...
|
||||
Metalink: validating (log/download2006) OK
|
||||
</file4>
|
||||
<stripfile4>
|
||||
$_ = '' if ($_ !~ /^Metalink: /)
|
||||
$_ = '' if (($_ !~ /^Metalink: /) && ($_ !~ /error/i) && ($_ !~ /warn/i))
|
||||
</stripfile4>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
@ -107,7 +107,7 @@ Metalink: validating (log/download2007)...
|
||||
Metalink: validating (log/download2007) OK
|
||||
</file4>
|
||||
<stripfile4>
|
||||
$_ = '' if ($_ !~ /^Metalink: /)
|
||||
$_ = '' if (($_ !~ /^Metalink: /) && ($_ !~ /error/i) && ($_ !~ /warn/i))
|
||||
</stripfile4>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
@ -99,7 +99,7 @@ Metalink: validating (log/download2008)...
|
||||
Metalink: validating (log/download2008) OK
|
||||
</file4>
|
||||
<stripfile4>
|
||||
$_ = '' if ($_ !~ /^Metalink: /)
|
||||
$_ = '' if (($_ !~ /^Metalink: /) && ($_ !~ /error/i) && ($_ !~ /warn/i))
|
||||
</stripfile4>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
@ -100,7 +100,7 @@ Metalink: validating (log/download2009)...
|
||||
Metalink: validating (log/download2009) OK
|
||||
</file4>
|
||||
<stripfile4>
|
||||
$_ = '' if ($_ !~ /^Metalink: /)
|
||||
$_ = '' if (($_ !~ /^Metalink: /) && ($_ !~ /error/i) && ($_ !~ /warn/i))
|
||||
</stripfile4>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
@ -99,7 +99,7 @@ Metalink: validating (log/download2010)...
|
||||
Metalink: validating (log/download2010) OK
|
||||
</file4>
|
||||
<stripfile4>
|
||||
$_ = '' if ($_ !~ /^Metalink: /)
|
||||
$_ = '' if (($_ !~ /^Metalink: /) && ($_ !~ /error/i) && ($_ !~ /warn/i))
|
||||
</stripfile4>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
@ -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>
|
||||
|
@ -86,7 +86,7 @@ Metalink: validating (log/download2012)...
|
||||
Metalink: validating (log/download2012) FAILED (digest missing)
|
||||
</file3>
|
||||
<stripfile3>
|
||||
$_ = '' if ($_ !~ /^Metalink: /)
|
||||
$_ = '' if (($_ !~ /^Metalink: /) && ($_ !~ /error/i) && ($_ !~ /warn/i))
|
||||
</stripfile3>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
@ -35,7 +35,7 @@ file
|
||||
Metalink
|
||||
</features>
|
||||
<name>
|
||||
Metalink local XML file, attempt absolute path
|
||||
Metalink local XML file, attempt UNIX absolute path
|
||||
</name>
|
||||
<command option="no-output,no-include">
|
||||
--metalink file://%PWD/log/test2013.metalink
|
||||
@ -72,7 +72,7 @@ Metalink: parsing (file://%PWD/log/test2013.metalink) WARNING (missing or invali
|
||||
Metalink: parsing (file://%PWD/log/test2013.metalink) FAILED
|
||||
</file2>
|
||||
<stripfile2>
|
||||
$_ = '' if ($_ !~ /^Metalink: /)
|
||||
$_ = '' if (($_ !~ /^Metalink: /) && ($_ !~ /error/i) && ($_ !~ /warn/i))
|
||||
</stripfile2>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
@ -35,7 +35,7 @@ file
|
||||
Metalink
|
||||
</features>
|
||||
<name>
|
||||
Metalink local XML file, attempt path relative to current
|
||||
Metalink local XML file, attempt UNIX path relative to current
|
||||
</name>
|
||||
<command option="no-output,no-include">
|
||||
--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
|
||||
</file2>
|
||||
<stripfile2>
|
||||
$_ = '' if ($_ !~ /^Metalink: /)
|
||||
$_ = '' if (($_ !~ /^Metalink: /) && ($_ !~ /error/i) && ($_ !~ /warn/i))
|
||||
</stripfile2>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user