]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-apt-update-hashsum-mismatch
travis: add ppa:ubuntu-toolschain-r/test as source for gcc-5
[apt.git] / test / integration / test-apt-update-hashsum-mismatch
index c2c5b388797d57c9aea4ee0b778fb128859605e8..4627f7afd04ce8988b8dbb8379f422c0366f68a0 100755 (executable)
@@ -35,7 +35,7 @@ for get in $(sed -n 's#^GET /\([^ ]\+\.gz\) HTTP.\+$#\1#p' aptarchive/webserver.
 
        testfailure aptget update
        cp rootdir/tmp/testfailure.output rootdir/tmp/update.output
-       testsuccess grep -E "$(basename -s '.gz' "$get").*Hash Sum mismatch" rootdir/tmp/update.output
+       testsuccess grep -E "$(basename "$get" '.gz').*Hash Sum mismatch" rootdir/tmp/update.output
        testfailure aptcache show foo
        testfailure aptget install foo -s