summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2022-04-22 11:23:07 -0600
committerJens Axboe <axboe@kernel.dk>2022-04-22 11:23:07 -0600
commit15e670a801cd9a4c0d4ce69099be9c163b7dfa66 (patch)
tree99a21374f4789e8c5d3475efe4a4bf1b20f09d2a
parent473e16399327ff1a05cb58b256c9bc86b47561c3 (diff)
downloadliburing-15e670a801cd9a4c0d4ce69099be9c163b7dfa66.tar.gz
liburing-15e670a801cd9a4c0d4ce69099be9c163b7dfa66.tar.bz2
test/runtests-quiet.sh: quote file names
Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rwxr-xr-xtest/runtests-quiet.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/runtests-quiet.sh b/test/runtests-quiet.sh
index 438a00a..63c46bd 100755
--- a/test/runtests-quiet.sh
+++ b/test/runtests-quiet.sh
@@ -2,10 +2,10 @@
TESTS=("$@")
RESULT_FILE=$(mktemp)
-./runtests.sh "${TESTS[@]}" 2>&1 > $RESULT_FILE
+./runtests.sh "${TESTS[@]}" 2>&1 > "$RESULT_FILE"
RET="$?"
if [ "${RET}" -ne 0 ]; then
- cat $RESULT_FILE
+ cat "$RESULT_FILE"
fi
-rm $RESULT_FILE
+rm "$RESULT_FILE"
exit $RET