summaryrefslogtreecommitdiff
path: root/test/integration/test-bug-254770-segfault-if-cache-not-buildable
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/test-bug-254770-segfault-if-cache-not-buildable')
-rwxr-xr-xtest/integration/test-bug-254770-segfault-if-cache-not-buildable4
1 files changed, 2 insertions, 2 deletions
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