From c0ad50e645f37a9374076aaaf57cd79555c4482d Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Sat, 11 Jan 2020 20:49:12 +0000 Subject: [PATCH] dev tools: Fix regression introduced in commit "Print the test data to stdout for convenience.". tee(1) truncated $fname. Fortunately, the data that got truncated had just been `git add`-ed, so no harm was done. --- tests/generate.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/generate.zsh b/tests/generate.zsh index 811abae..259ea75 100755 --- a/tests/generate.zsh +++ b/tests/generate.zsh @@ -63,7 +63,7 @@ fi git add -- $fname # Buffer -exec > >(tee $fname) +exec > >(tee -a $fname) print -n 'BUFFER=' if [[ $buffer != (#s)[$'\t -~']#(#e) ]]; then print -r -- ${(qqqq)buffer}