Simplify test syntax

Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
This commit is contained in:
Manuel Pégourié-Gonnard 2020-06-25 09:54:46 +02:00
parent bedcb3eb24
commit 581af9f720

View File

@ -626,7 +626,7 @@ run_test() {
# if the test uses DTLS but no custom proxy, add a simple proxy # if the test uses DTLS but no custom proxy, add a simple proxy
# as it provides timing info that's useful to debug failures # 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" PXY_CMD="$P_PXY"
fi fi