From: Michael Vogt Date: Tue, 4 Nov 2014 21:01:59 +0000 (+0100) Subject: test/integration/test-apt-update-filesize-mismatch: use "basename file suffix" instea... X-Git-Tag: 1.1.exp8~7 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/6e2261d0f250406058d66b360080aa986953ae19?ds=sidebyside test/integration/test-apt-update-filesize-mismatch: use "basename file suffix" instead of -s for compatibility with older systems --- diff --git a/test/integration/test-apt-update-filesize-mismatch b/test/integration/test-apt-update-filesize-mismatch index 8c73c059e..b484c5161 100755 --- a/test/integration/test-apt-update-filesize-mismatch +++ b/test/integration/test-apt-update-filesize-mismatch @@ -28,7 +28,7 @@ for get in $(sed -n 's#^GET /\([^ ]\+\.gz\) HTTP.\+$#\1#p' aptarchive/webserver. for ext in '' '.gz'; do COMPRESSFILE="$get" get="${get}${ext}" - FILE="$(basename -s '.gz' "$get")" + FILE="$(basename "$get" '.gz')" msgmsg 'Test filesize mismatch with file' "$FILE" rm -rf rootdir/var/lib/apt/lists