From 6e2261d0f250406058d66b360080aa986953ae19 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Tue, 4 Nov 2014 22:01:59 +0100 Subject: test/integration/test-apt-update-filesize-mismatch: use "basename file suffix" instead of -s for compatibility with older systems --- test/integration/test-apt-update-filesize-mismatch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3