]> 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 ce73f1c17dd176c082669bbbff12b0d6265efdf5..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'