]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-bug-732746-preferences
test: Use :$(id -gn) instead of :root (when run as root)
[apt.git] / test / integration / test-bug-732746-preferences
index b31f98aa0eec2ebb91079822cf317172f55d66ab..d3bbdadfe52273b334f5317c2ac91aea57d821c3 100755 (executable)
@@ -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'
 
@@ -25,7 +25,7 @@ Pin-Priority: 700
 #Pin: 800
 EOF
 
-testequal "Reading package lists...
+testsuccessequal "Reading package lists...
 Building dependency tree..." aptget check
 
 msgtest "Ensure policy is applied"