tests: update Metalink message format

This commit is contained in:
Yang Tse
2012-06-27 13:08:46 +02:00
parent 3e6dfe138a
commit 5ce9e7a0b7
8 changed files with 48 additions and 24 deletions

View File

@@ -79,9 +79,12 @@ Data delivered from an HTTP resource
<file2 name="log/stdout2011">
</file2>
<file3 name="log/stderr2011">
Metalink: Metalink XML file was parsed successfully
Metalink: Validating sha-256 checksum (This may take some time)...
Metalink: log/download2011: FAILED
Metalink: parsing (file://%PWD/log/test2011.metalink) metalink/XML...
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)
</file3>
<stripfile3>
$_ = '' if ($_ !~ /^Metalink: /)