summaryrefslogtreecommitdiff
path: root/test/integration/test-apt-get-update-unauth-warning
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/test-apt-get-update-unauth-warning')
-rwxr-xr-xtest/integration/test-apt-get-update-unauth-warning4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/integration/test-apt-get-update-unauth-warning b/test/integration/test-apt-get-update-unauth-warning
index 35825ee24..b2d79eb2b 100755
--- a/test/integration/test-apt-get-update-unauth-warning
+++ b/test/integration/test-apt-get-update-unauth-warning
@@ -16,8 +16,8 @@ buildsimplenativepackage 'foo' 'all' '2.0'
setupaptarchive --no-update
-APTARCHIVE=$(readlink -f ./aptarchive)
-rm -f $APTARCHIVE/dists/unstable/*Release*
+APTARCHIVE="$(readlink -f ./aptarchive)"
+find "$APTARCHIVE/dists/unstable" -name '*Release*' -delete
# update without authenticated files leads to warning
testfailureequal "Get:1 file:$APTARCHIVE unstable InRelease