]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-bug-595691-empty-and-broken-archive-files
show URI.Path in all acquire item descriptions
[apt.git] / test / integration / test-bug-595691-empty-and-broken-archive-files
index 486b8ba027242bea2d1624377884aa9c74cbe95c..b42212f5ea32f9f70c9457fbe7ce68c0a6e537bc 100755 (executable)
@@ -49,6 +49,7 @@ createemptyfile() {
 }
 
 testoverfile() {
+       local APTARCHIVE="$(readlink -f ./aptarchive)"
        forcecompressor "$1"
 
        createemptyfile 'en'
@@ -63,9 +64,9 @@ testoverfile() {
        testaptgetupdate 'Reading package lists...' "empty archive Packages.$COMPRESS over file"
 
        createemptyfile 'Packages'
-       testaptgetupdate "Err file:  Packages
+       testaptgetupdate "Err file:$APTARCHIVE  Packages
   Empty files can't be valid archives
-W: Failed to fetch ${COMPRESSOR}:$(readlink -f aptarchive/Packages.$COMPRESS)  Empty files can't be valid archives
+W: Failed to fetch ${COMPRESSOR}:${APTARCHIVE}/Packages.$COMPRESS  Empty files can't be valid archives
 
 E: Some index files failed to download. They have been ignored, or old ones used instead." "empty file Packages.$COMPRESS over file"
 }