]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-bug-543966-downgrade-below-1000-pin
test: Use :$(id -gn) instead of :root (when run as root)
[apt.git] / test / integration / test-bug-543966-downgrade-below-1000-pin
index 1aa37740ba9034e43766c354993be1874598bcd1..db81b7c7a4dbbc2e08e5b71fac02f60829ed6794 100755 (executable)
@@ -1,8 +1,8 @@
 #!/bin/sh
 set -e
 
 #!/bin/sh
 set -e
 
-TESTDIR=$(readlink -f $(dirname $0))
-. $TESTDIR/framework
+TESTDIR="$(readlink -f "$(dirname "$0")")"
+. "$TESTDIR/framework"
 
 setupenvironment
 configarchitecture 'i386'
 
 setupenvironment
 configarchitecture 'i386'