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.
This commit is contained in:
Daniel Shahaf 2020-01-11 20:49:12 +00:00
parent 8b2768ab40
commit c0ad50e645

View file

@ -63,7 +63,7 @@ fi
git add -- $fname git add -- $fname
# Buffer # Buffer
exec > >(tee $fname) exec > >(tee -a $fname)
print -n 'BUFFER=' print -n 'BUFFER='
if [[ $buffer != (#s)[$'\t -~']#(#e) ]]; then if [[ $buffer != (#s)[$'\t -~']#(#e) ]]; then
print -r -- ${(qqqq)buffer} print -r -- ${(qqqq)buffer}