X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/68ba0b7f4e1c03edfb6f621e7e7314ea610af96b..29636cc759c6fbb92c6c462c90611eefb67cbbd4:/test/integration/test-bug-254770-segfault-if-cache-not-buildable

diff --git a/test/integration/test-bug-254770-segfault-if-cache-not-buildable b/test/integration/test-bug-254770-segfault-if-cache-not-buildable
index 6ae8944b2..6f6e1abc0 100755
--- a/test/integration/test-bug-254770-segfault-if-cache-not-buildable
+++ b/test/integration/test-bug-254770-segfault-if-cache-not-buildable
@@ -1,8 +1,8 @@
 #!/bin/sh
 set -e
 
-TESTDIR=$(readlink -f $(dirname $0))
-. $TESTDIR/framework
+TESTDIR="$(readlink -f "$(dirname "$0")")"
+. "$TESTDIR/framework"
 
 msgtest 'Test run as' 'non-root'
 if [ "$(id -u)" = '0' ]; then