d/test.sh: Line-buffer stdout

Otherwise, lines from stdout appear with an arbitrary delay, making it
hard to tell what the order of events was.
This commit is contained in:
Simon McVittie 2021-04-18 11:12:55 +01:00
parent 72367d6302
commit eeb52cb9f6
1 changed files with 2 additions and 1 deletions

3
debian/test.sh vendored
View File

@ -14,7 +14,8 @@ unset https_proxy
unset no_proxy
failed=0
make check || failed=1
# Use line-buffering so stdout and stderr interleave somewhat nicely
stdbuf -oL make check || failed=1
pkill --full "gpg-agent --homedir /var/tmp/tap-test\\.[^/]+/.*" || :
pkill --full '\.libs/ostree-trivial-httpd' || :