]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-apt-update-hashsum-mismatch
test: Use :$(id -gn) instead of :root (when run as root)
[apt.git] / test / integration / test-apt-update-hashsum-mismatch
index 4627f7afd04ce8988b8dbb8379f422c0366f68a0..f3f6a42367ad03cafef174c5011e925f7a32b204 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'
 configcompression 'gz'