| Message ID | 20240620103749.7923-1-gert@greenie.muc.de | 
|---|---|
| State | Accepted | 
| Headers | show | 
| Series | [Openvpn-devel,v1] t_server_null.sh: Fix failure case | expand | 
Yeah, obvious in hindsight :-)
Your patch has been applied to the master branch.
commit c9f29e35cd475f18c34aa96eb5fad452210404f9
Author: Frank Lichtenheld
Date:   Thu Jun 20 12:37:48 2024 +0200
     t_server_null.sh: Fix failure case
     Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>
     Acked-by: Samuli Seppänen <samuli@openvpn.net>
     Message-Id: <20240620103749.7923-1-gert@greenie.muc.de>
     URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg28815.html
     Signed-off-by: Gert Doering <gert@greenie.muc.de>
--
kind regards,
Gert Doering
diff --git a/tests/t_server_null.sh b/tests/t_server_null.sh index cfca5ee..0e53ba4 100755 --- a/tests/t_server_null.sh +++ b/tests/t_server_null.sh @@ -64,9 +64,12 @@ fi "${srcdir}/t_server_null_client.sh" +retval=$? # When running make jobs in parallel ("make -j<x> check") we need to ensure # that this script does not exit before all --dev null servers are dead and # their network interfaces are gone. Otherwise t_client.sh will fail because # pre and post ifconfig output does not match. wait + +exit $retval diff --git a/tests/t_server_null_client.sh b/tests/t_server_null_client.sh index 5d5542b..8890007 100755 --- a/tests/t_server_null_client.sh +++ b/tests/t_server_null_client.sh @@ -130,7 +130,7 @@ eval test_name=\"\$TEST_NAME_$SUF\" eval should_pass=\"\$SHOULD_PASS_$SUF\" - (get_client_test_result "${test_name}" "${should_pass}") + get_client_test_result "${test_name}" "${should_pass}" done exit $retval