From 581af9f720afec7488be6051f7c9d5e2645761af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Thu, 25 Jun 2020 09:54:46 +0200 Subject: [PATCH] Simplify test syntax MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Manuel Pégourié-Gonnard --- tests/ssl-opt.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ssl-opt.sh b/tests/ssl-opt.sh index a03846353..958c36891 100755 --- a/tests/ssl-opt.sh +++ b/tests/ssl-opt.sh @@ -626,7 +626,7 @@ run_test() { # if the test uses DTLS but no custom proxy, add a simple proxy # as it provides timing info that's useful to debug failures - if [ "X$PXY_CMD" = "X" -a "$DTLS" -eq 1 ]; then + if [ -z "$PXY_CMD" ] && [ "$DTLS" -eq 1 ]; then PXY_CMD="$P_PXY" fi