1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 15:48:49 -05:00

metalink tests: Updated expected output to include hash name

This commit is contained in:
Marc Hoersken 2012-09-17 07:35:11 +02:00
parent b78944146a
commit b3d72a95be
6 changed files with 6 additions and 6 deletions

View File

@ -84,7 +84,7 @@ Metalink: parsing (file://%PWD/log/test2005.metalink) OK
Metalink: fetching (log/download2005) from (http://%HOSTIP:%HTTPPORT/2005)...
Metalink: fetching (log/download2005) from (http://%HOSTIP:%HTTPPORT/2005) OK
Metalink: validating (log/download2005)...
Metalink: validating (log/download2005) OK
Metalink: validating (log/download2005) [sha-256] OK
</file3>
<stripfile3>
$_ = '' if (($_ !~ /^Metalink: /) && ($_ !~ /error/i) && ($_ !~ /warn/i))

View File

@ -104,7 +104,7 @@ Metalink: parsing (file://%PWD/log/test2007.metalink) OK
Metalink: fetching (log/download2007) from (http://%HOSTIP:%HTTPPORT/2007)...
Metalink: fetching (log/download2007) from (http://%HOSTIP:%HTTPPORT/2007) OK
Metalink: validating (log/download2007)...
Metalink: validating (log/download2007) OK
Metalink: validating (log/download2007) [sha-256] OK
</file4>
<stripfile4>
$_ = '' if (($_ !~ /^Metalink: /) && ($_ !~ /error/i) && ($_ !~ /warn/i))

View File

@ -96,7 +96,7 @@ Metalink: parsing (file://%PWD/log/test2008.metalink) OK
Metalink: fetching (log/download2008) from (http://%HOSTIP:%HTTPPORT/2008)...
Metalink: fetching (log/download2008) from (http://%HOSTIP:%HTTPPORT/2008) OK
Metalink: validating (log/download2008)...
Metalink: validating (log/download2008) OK
Metalink: validating (log/download2008) [sha-256] OK
</file4>
<stripfile4>
$_ = '' if (($_ !~ /^Metalink: /) && ($_ !~ /error/i) && ($_ !~ /warn/i))

View File

@ -97,7 +97,7 @@ Metalink: parsing (file://%PWD/log/test2009.metalink) OK
Metalink: fetching (log/download2009) from (http://%HOSTIP:%HTTPPORT/2009)...
Metalink: fetching (log/download2009) from (http://%HOSTIP:%HTTPPORT/2009) OK
Metalink: validating (log/download2009)...
Metalink: validating (log/download2009) OK
Metalink: validating (log/download2009) [sha-256] OK
</file4>
<stripfile4>
$_ = '' if (($_ !~ /^Metalink: /) && ($_ !~ /error/i) && ($_ !~ /warn/i))

View File

@ -96,7 +96,7 @@ Metalink: parsing (file://%PWD/log/test2010.metalink) OK
Metalink: fetching (log/download2010) from (http://%HOSTIP:%HTTPPORT/2010)...
Metalink: fetching (log/download2010) from (http://%HOSTIP:%HTTPPORT/2010) OK
Metalink: validating (log/download2010)...
Metalink: validating (log/download2010) OK
Metalink: validating (log/download2010) [sha-256] OK
</file4>
<stripfile4>
$_ = '' if (($_ !~ /^Metalink: /) && ($_ !~ /error/i) && ($_ !~ /warn/i))

View File

@ -84,7 +84,7 @@ Metalink: parsing (file://%PWD/log/test2011.metalink) OK
Metalink: fetching (log/download2011) from (http://%HOSTIP:%HTTPPORT/2011)...
Metalink: fetching (log/download2011) from (http://%HOSTIP:%HTTPPORT/2011) OK
Metalink: validating (log/download2011)...
Metalink: validating (log/download2011) FAILED (digest mismatch)
Metalink: validating (log/download2011) [sha-256] FAILED (digest mismatch)
</file3>
<stripfile3>
$_ = '' if (($_ !~ /^Metalink: /) && ($_ !~ /error/i) && ($_ !~ /warn/i))