X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/514a25cbcd2babb2a9c4485fc7b9a4256b7f6ff3..b5aba9096e371a5f8612aff05384aca54ccc5acd:/test/integration/test-apt-update-file diff --git a/test/integration/test-apt-update-file b/test/integration/test-apt-update-file index 78a8ca405..369b40f2f 100755 --- a/test/integration/test-apt-update-file +++ b/test/integration/test-apt-update-file @@ -5,8 +5,8 @@ # set -e -TESTDIR=$(readlink -f $(dirname $0)) -. $TESTDIR/framework +TESTDIR="$(readlink -f "$(dirname "$0")")" +. "$TESTDIR/framework" setupenvironment configarchitecture "amd64" @@ -33,10 +33,10 @@ if [ "$(id -u)" = '0' ]; then testsuccess aptget update rm -rf rootdir/var/lib/apt/lists chmod 510 aptarchive/dists/ - testsuccesswithnotice aptget update -q=0 + testsuccesswithnotice aptget update rm -rf rootdir/var/lib/apt/lists chmod 500 aptarchive/dists/ - testsuccesswithnotice aptget update -q=0 + testsuccesswithnotice aptget update exit fi chmod 555 aptarchive/dists/unstable/main/binary-all