]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-apt-update-file
Report non-transient errors as errors, not as warnings
[apt.git] / test / integration / test-apt-update-file
index 78a8ca4054fe78dacd7b5fd1aa22b6656e332e64..369b40f2f284caa1e4e9e1a7359649f90e743d1f 100755 (executable)
@@ -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