test/runtests-quiet.sh: fixup redirection

Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
Jens Axboe
2022-04-22 11:30:13 -06:00
parent 850bf43a92
commit 03df6e7090
+1 -1
View File
@@ -2,7 +2,7 @@
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"