summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rwxr-xr-xtest/integration/test-apt-update-filesize-mismatch2
1 files changed, 1 insertions, 1 deletions
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