X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/25b86db159fbc3c043628e285c0c1ef24dec2c6e..0343b48e06fb990ee15a020bc6716b1a5a984e14:/test/integration/test-pin-non-existent-package?ds=sidebyside diff --git a/test/integration/test-pin-non-existent-package b/test/integration/test-pin-non-existent-package index 5c839283f..06103fd38 100755 --- a/test/integration/test-pin-non-existent-package +++ b/test/integration/test-pin-non-existent-package @@ -1,8 +1,8 @@ #!/bin/sh set -e -TESTDIR=$(readlink -f $(dirname $0)) -. $TESTDIR/framework +TESTDIR="$(readlink -f "$(dirname "$0")")" +. "$TESTDIR/framework" setupenvironment configarchitecture "i386" @@ -23,7 +23,7 @@ testcandidate() { } testcandidate rapt '0.8.15' -testsuccessequal 'N: Unable to locate package doesntexist' aptcache policy doesntexist -q=0 +testsuccessequal 'N: Unable to locate package doesntexist' aptcache policy doesntexist testsuccessequal 'Reading package lists... Building dependency tree... Calculating upgrade... @@ -34,7 +34,7 @@ Pin: release a=unstable Pin-Priority: -1' > rootdir/etc/apt/preferences testcandidate rapt '(none)' -testsuccessequal 'N: Unable to locate package doesntexist' aptcache policy doesntexist -q=0 +testsuccessequal 'N: Unable to locate package doesntexist' aptcache policy doesntexist testsuccessequal 'Reading package lists... Building dependency tree... Calculating upgrade... @@ -53,7 +53,7 @@ Pin: release a=unstable Pin-Priority: 1000' >> rootdir/etc/apt/preferences testcandidate rapt '(none)' -testsuccessequal 'N: Unable to locate package doesntexist' aptcache policy doesntexist -q=0 +testsuccessequal 'N: Unable to locate package doesntexist' aptcache policy doesntexist testsuccessequal 'Reading package lists... Building dependency tree...