summaryrefslogtreecommitdiff
path: root/test/integration/test-apt-helper
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2016-11-09 23:32:02 +0100
committerDavid Kalnischkies <david@kalnischkies.de>2016-11-09 23:32:02 +0100
commit28ee7f19b865c32ce1b03cc0afa26983a0208693 (patch)
tree7ecb081440b2b0d7e344250b9c351816ea580897 /test/integration/test-apt-helper
parentd96c997ebeab76f690564fc1c93a35b1a885adf5 (diff)
rename Checksum-FileSize to Filesize in hashsum mismatch
Some people do not recognize the field value with such an arcane name and/or expect it to refer to something different (e.g. #839257). We can't just rename it internally as its an avoidance strategy as such fieldname existed previously with less clear semantics, but we can spare the general public from this implementation detail.
Diffstat (limited to 'test/integration/test-apt-helper')
-rwxr-xr-xtest/integration/test-apt-helper4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/integration/test-apt-helper b/test/integration/test-apt-helper
index 81c52465d..5e4a96fbd 100755
--- a/test/integration/test-apt-helper
+++ b/test/integration/test-apt-helper
@@ -41,7 +41,7 @@ test_apt_helper_download() {
- SHA256:b5bb9d8014a0f9b1d61e21e796d78dccdf1352f23cd32812f4850b878ae4944c
- SHA1:f1d2d2f924e986ac86fdf7b36c94bcdf32beec15 [weak]
- MD5Sum:d3b07384d113edec49eaa6238ad5ff00 [weak]
- - Checksum-FileSize:4 [weak]
+ - Filesize:4 [weak]
Last modification reported: $(lastmodification 'aptarchive/foo')
E: Download Failed"
testfileequal ./downloaded/foo5.FAILED 'foo'
@@ -53,7 +53,7 @@ E: Download Failed"
- SHA256:aabbcc
Hashes of received file:
- SHA256:b5bb9d8014a0f9b1d61e21e796d78dccdf1352f23cd32812f4850b878ae4944c
- - Checksum-FileSize:4 [weak]
+ - Filesize:4 [weak]
Last modification reported: $(lastmodification 'aptarchive/foo')
E: Download Failed"
testfileequal './downloaded/foo6.FAILED' 'foo'