X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/05f64ca2e483709faa6bc69dfa79129d2d4c679e..2ed62ba6abcad809d1898a40950f86217af73812:/test/integration/test-pin-non-existent-package 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...