[Openvpn-devel,XS] Change in openvpn[master]: forked-test-driver: Show test output always

Message ID f8d257e447bbf45c3a6ae496d122538f0a3cb0ec-HTML@gerrit.openvpn.net
State New
Headers show
Series [Openvpn-devel,XS] Change in openvpn[master]: forked-test-driver: Show test output always | expand

Commit Message

flichtenheld (Code Review) Dec. 11, 2023, 3:54 p.m. UTC
Attention is currently required from: plaisthos.

Hello plaisthos,

I'd like you to do a code review.
Please visit

    http://gerrit.openvpn.net/c/openvpn/+/479?usp=email

to review the following change.


Change subject: forked-test-driver: Show test output always
......................................................................

forked-test-driver: Show test output always

We want to see the progress, especially for slow tests
like t_client.sh.

Change-Id: I11e0091482d9acee89ca018374cb8d96d22f8514
Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>
---
M forked-test-driver
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/79/479/1

Patch

diff --git a/forked-test-driver b/forked-test-driver
index be73b80..1baaa84 100755
--- a/forked-test-driver
+++ b/forked-test-driver
@@ -109,7 +109,7 @@ 
 # to ameliorate tests themselves also writing to the log file. Our tests
 # don't, but others can (automake bug#35762).
 : >"$log_file"
-"$@" >>"$log_file" 2>&1
+"$@" 2>&1 | tee -a "$log_file"
 estatus=$?
 
 if test $enable_hard_errors = no && test $estatus -eq 99; then