15 Date: Wed, 20 Jun 2012 14:49:00 GMT
16 Server: test-server/fake
19 Content-Type: text/html
20 Content-Disposition: filename=name2005; charset=funny; option=strange
23 Data delivered from an HTTP resource
38 Metalink local XML file, HTTP resource
40 <command option="no-output,no-include">
41 --metalink file://%PWD/log/test2005.metalink
43 # local metalink file written before test command runs
44 <file name="log/test2005.metalink">
45 <?xml version="1.0" encoding="utf-8"?>
46 <metalink version="3.0" xmlns="http://www.metalinker.org/">
48 <file name="log/download2005">
50 <hash type="sha256">a430d26389c69b7a245a9ad692cf20b4dc026fb7c2ff8a2c164c49a77130d6d9</hash>
52 <resources maxconnections="1">
53 <url type="http" preference="90">http://%HOSTIP:%HTTPPORT/2005</url>
60 perl %SRCDIR/libtest/notexists.pl log/2005 log/name2005
65 # Verify data after the test has been "shot"
72 Host: %HOSTIP:%HTTPPORT
\r
76 <file1 name="log/download2005">
77 Data delivered from an HTTP resource
79 <file2 name="log/stdout2005">
81 <file3 name="log/stderr2005">
82 Metalink: parsing (file://%PWD/log/test2005.metalink) metalink/XML...
83 Metalink: parsing (file://%PWD/log/test2005.metalink) OK
84 Metalink: fetching (log/download2005) from (http://%HOSTIP:%HTTPPORT/2005)...
85 Metalink: fetching (log/download2005) from (http://%HOSTIP:%HTTPPORT/2005) OK
86 Metalink: validating (log/download2005)...
87 Metalink: validating (log/download2005) [sha-256] OK
90 $_ = '' if (($_ !~ /^Metalink: /) && ($_ !~ /error/i) && ($_ !~ /warn/i))