From eeb52cb9f60f7ed5032c7d00d54137d9622b6cb8 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Sun, 18 Apr 2021 11:12:55 +0100 Subject: [PATCH] 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. --- debian/test.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/test.sh b/debian/test.sh index d0dba67d..84242ffd 100755 --- a/debian/test.sh +++ b/debian/test.sh @@ -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' || :