From cf05aefe506391afcf4f65c5f1ddd69e364d4bfb Mon Sep 17 00:00:00 2001 From: Zach Brown Date: Thu, 3 Feb 2022 14:26:55 -0800 Subject: [PATCH] t_quiet appends command output The t_quiet test command execution helper was constantly truncating the quiet.log with the output of each command. It was meant to show each command and its output as they're run. Signed-off-by: Zach Brown --- tests/funcs/exec.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/funcs/exec.sh b/tests/funcs/exec.sh index 06d4c96b..0aa595eb 100644 --- a/tests/funcs/exec.sh +++ b/tests/funcs/exec.sh @@ -35,7 +35,7 @@ t_fail() t_quiet() { echo "# $*" >> "$T_TMPDIR/quiet.log" - "$@" > "$T_TMPDIR/quiet.log" 2>&1 || \ + "$@" >> "$T_TMPDIR/quiet.log" 2>&1 || \ t_fail "quiet command failed" }