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 69b01f7694
commit 70fce9831e

View File

@ -670,7 +670,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