X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/245dde96193702f7f51389d3583dee547f8ba366..4f242a2289cc5db7a53afdb875291c94de64fd90:/test/integration/test-apt-get-source-authenticated diff --git a/test/integration/test-apt-get-source-authenticated b/test/integration/test-apt-get-source-authenticated index da63f7cb3..40710d5d6 100755 --- a/test/integration/test-apt-get-source-authenticated +++ b/test/integration/test-apt-get-source-authenticated @@ -6,8 +6,8 @@ # set -e -TESTDIR=$(readlink -f $(dirname $0)) -. $TESTDIR/framework +TESTDIR="$(readlink -f "$(dirname "$0")")" +. "$TESTDIR/framework" setupenvironment configarchitecture "i386" @@ -17,8 +17,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 InRelease file testwarning aptget update --allow-insecure-repositories