]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-apt-update-filesize-mismatch
dereference redirect in Vcs-Browser URI to cgit
[apt.git] / test / integration / test-apt-update-filesize-mismatch
index f78b83b5ff6d1ca858fbe303db948e810235ff49..a23c03c3f47477f10f604d5dc364d6087f3d6598 100755 (executable)
@@ -40,7 +40,7 @@ for get in $(sed -n 's#^GET /\([^ ]\+\.gz\) HTTP.\+$#\1#p' aptarchive/webserver.
 
                testfailure aptget update -o Debug::pkgAcquire::Worker=1
                cp rootdir/tmp/testfailure.output rootdir/tmp/update.output
-               testsuccess grep -E "$(basename -s '.gz' "$COMPRESSFILE").*Hash Sum mismatch" rootdir/tmp/update.output
+               testsuccess grep -E "$(basename "$COMPRESSFILE" '.gz').*Hash Sum mismatch" rootdir/tmp/update.output
                testfailure aptcache show foo
                testfailure aptget install foo -s