15 Date: Wed, 20 Jun 2012 14:49:00 GMT
16 Server: test-server/fake
19 Content-Type: text/html
20 Content-Disposition: filename=name2012; charset=funny; option=strange
23 Some contents delivered from an HTTP resource
38 Metalink local XML file, HTTP resource, without hash
40 <command option="no-output,no-include">
41 --metalink file://%PWD/log/test2012.metalink
43 # local metalink file written before test command runs
44 <file name="log/test2012.metalink">
45 <?xml version="1.0" encoding="utf-8"?>
46 <metalink version="3.0" xmlns="http://www.metalinker.org/">
48 <file name="log/download2012">
51 <resources maxconnections="1">
52 <url type="http" preference="90">http://%HOSTIP:%HTTPPORT/2012</url>
59 perl %SRCDIR/libtest/notexists.pl log/2012 log/name2012
64 # Verify data after the test has been "shot"
71 Host: %HOSTIP:%HTTPPORT
\r
75 <file1 name="log/download2012">
76 Some contents delivered from an HTTP resource
78 <file2 name="log/stdout2012">
80 <file3 name="log/stderr2012">
81 Metalink: parsing (file://%PWD/log/test2012.metalink) metalink/XML...
82 Metalink: parsing (file://%PWD/log/test2012.metalink) WARNING (digest missing)
83 Metalink: fetching (log/download2012) from (http://%HOSTIP:%HTTPPORT/2012)...
84 Metalink: fetching (log/download2012) from (http://%HOSTIP:%HTTPPORT/2012) OK
85 Metalink: validating (log/download2012)...
86 Metalink: validating (log/download2012) FAILED (digest missing)
89 $_ = '' if (($_ !~ /^Metalink: /) && ($_ !~ /error/i) && ($_ !~ /warn/i))