summaryrefslogtreecommitdiff
path: root/test/test.xml
diff options
context:
space:
mode:
Diffstat (limited to 'test/test.xml')
-rw-r--r--test/test.xml26
1 files changed, 24 insertions, 2 deletions
diff --git a/test/test.xml b/test/test.xml
index e63572d0..f071c064 100644
--- a/test/test.xml
+++ b/test/test.xml
@@ -11,8 +11,8 @@
<language>en-US</language>
<os>Linux-x86</os>
<verification>
- <hash type="md5">fc4d834e89c18c99b2615d902750948c</hash>
<hash type="sha1">a96cf3f0266b91d87d5124cf94326422800b627d</hash>
+ <hash type="md5">fc4d834e89c18c99b2615d902750948c</hash>
</verification>
<resources>
<url type="ftp" location="jp" preference="100">ftp://ftphost/aria2-0.5.2.tar.bz2</url>
@@ -25,8 +25,8 @@
<language>ja-JP</language>
<os>Linux-m68k</os>
<verification>
- <hash type="md5">92296e19c406d77d21bda0bb944eac46</hash>
<hash type="sha1">4c255b0ed130f5ea880f0aa061c3da0487e251cc</hash>
+ <hash type="md5">92296e19c406d77d21bda0bb944eac46</hash>
<pieces length="262144" type="sha1">
<hash piece="0">179463a88d79cbf0b1923991708aead914f26142</hash>
<hash piece="1">fecf8bc9a1647505fe16746f94e97a477597dbf3</hash>
@@ -37,5 +37,27 @@
<url type="http" preference="100">http://httphost/aria2-0.5.1.tar.bz2</url>
</resources>
</file>
+ <file name="NoVerificationHash">
+ <resources>
+ <url type="ftp" preference="100">ftp://host/file</url>
+ </resources>
+ </file>
+ <file name="UnsupportedVerificationHashTypeIncluded">
+ <verification>
+ <hash type="notsupported">92296e19c406d77d21bda0bb944eac46</hash>
+ <hash type="sha1">4c255b0ed130f5ea880f0aa061c3da0487e251cc</hash>
+ <pieces length="262144" type="notsupported">
+ <hash piece="0">179463a88d79cbf0b1923991708aead914f26142</hash>
+ <hash piece="1">fecf8bc9a1647505fe16746f94e97a477597dbf3</hash>
+ </pieces>
+ <pieces length="262144" type="sha1">
+ <hash piece="0">179463a88d79cbf0b1923991708aead914f26142</hash>
+ <hash piece="1">fecf8bc9a1647505fe16746f94e97a477597dbf3</hash>
+ </pieces>
+ </verification>
+ <resources>
+ <url type="ftp" preference="100">ftp://host/file</url>
+ </resources>
+ </file>
</files>
</metalink>