X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/245dde96193702f7f51389d3583dee547f8ba366..561a3557e7fa6c4ed693c3bb486d189a468a8080:/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...