X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/68ba0b7f4e1c03edfb6f621e7e7314ea610af96b..84eec207be35b8c117c430296d4c212b079c00c1:/test/integration/test-bug-254770-segfault-if-cache-not-buildable?ds=inline 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