X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/64e3414e00906e6eaa72d7b63ca76d1c59ecadf6..29636cc759c6fbb92c6c462c90611eefb67cbbd4:/test/integration/test-apt-mark diff --git a/test/integration/test-apt-mark b/test/integration/test-apt-mark index 47ade45b1..7a115b03f 100755 --- a/test/integration/test-apt-mark +++ b/test/integration/test-apt-mark @@ -1,8 +1,8 @@ #!/bin/sh set -e -TESTDIR=$(readlink -f $(dirname $0)) -. $TESTDIR/framework +TESTDIR="$(readlink -f "$(dirname "$0")")" +. "$TESTDIR/framework" setupenvironment configarchitecture 'amd64' 'i386' @@ -20,7 +20,7 @@ testdpkginstalled dpkg testnoautopkg() { testempty aptmark showauto - testempty aptcache showauto + testempty aptcache -q=1 showauto testsuccessequal 'bar dpkg foo' aptmark showmanual @@ -29,22 +29,22 @@ foo' aptmark showmanual bar foo uninstalled } testfooisauto() { testsuccessequal 'foo' aptmark showauto - testsuccessequal 'foo' aptcache showauto + testsuccessequal 'foo' aptcache -q=1 showauto testsuccessequal 'foo' aptmark showauto foo - testsuccessequal 'foo' aptcache showauto foo + testsuccessequal 'foo' aptcache -q=1 showauto foo testsuccessequal 'bar dpkg' aptmark showmanual testsuccessequal 'bar' aptmark showmanual bar } testmarkonpkgasauto() { - testsuccess $1 $2 foo + testsuccess $1 -q=1 $2 foo testfooisauto - testsuccess $1 $2 foo + testsuccess $1 -q=1 $2 foo testfooisauto - testsuccess $1 $3 foo + testsuccess $1 -q=1 $3 foo testnoautopkg - testsuccess $1 $3 foo + testsuccess $1 -q=1 $3 foo testnoautopkg }