]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-bug-719263-print-uris-removes-authentication
test: Use :$(id -gn) instead of :root (when run as root)
[apt.git] / test / integration / test-bug-719263-print-uris-removes-authentication
index 207bf4611aa997fdb6f6f0c69646d74e2887d893..e79e6912d55acea19c668c2822f0c4c19779e756 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 'amd64'
 
 setupenvironment
 configarchitecture 'amd64'