X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/68ba0b7f4e1c03edfb6f621e7e7314ea610af96b..832f95f4d018f18ff7b3d0381206f25b5a4373a6:/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