aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2012-06-21 18:21:45 +0200
committerYang Tse <yangsita@gmail.com>2012-06-21 18:32:31 +0200
commit53423673ca51f89ad0698a43e01491686f650ba4 (patch)
treee1c4b8ea6ba6823ec73f56f88285f2dd7f228bb8
parent2f738c7f407b1c2be2761d3d03d2def89669c209 (diff)
test 2005: add verification of hash checking outcome
-rw-r--r--tests/data/test200510
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/data/test2005 b/tests/data/test2005
index e572329b2..16867fb40 100644
--- a/tests/data/test2005
+++ b/tests/data/test2005
@@ -35,7 +35,7 @@ file
Metalink
</features>
<name>
-Metalink local XML file with HTTP resource
+Metalink local XML file, HTTP resource
</name>
<command option="no-output,no-include">
--metalink file://%PWD/log/test2005.metalink
@@ -78,5 +78,13 @@ Data delivered from an HTTP resource
</file1>
<file2 name="log/stdout2005">
</file2>
+<file3 name="log/stderr2005">
+Metalink: Metalink XML file was parsed successfully
+Metalink: Validating sha-256 checksum (This may take some time)...
+Metalink: log/download2005: OK
+</file3>
+<stripfile3>
+$_ = '' if ($_ !~ /^Metalink: /)
+</stripfile3>
</verify>
</testcase>