summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2014-11-04 22:01:59 +0100
committerMichael Vogt <mvo@debian.org>2014-11-04 22:01:59 +0100
commit6e2261d0f250406058d66b360080aa986953ae19 (patch)
treefc1055a6375956b92b80975a710b9531986628d8
parent90d7716a474b4d172b06acfa2320fdc3d8663400 (diff)
test/integration/test-apt-update-filesize-mismatch: use "basename file suffix" instead of -s for compatibility with older systems
-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