From e8d2ce8159ffc7fbb583f3aeda2970fa7956b489 Mon Sep 17 00:00:00 2001 From: Adil Hafeez Date: Thu, 29 May 2025 11:51:28 -0700 Subject: [PATCH] make it posix compliant --- demos/shared/test_runner/run_demo_tests.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/demos/shared/test_runner/run_demo_tests.sh b/demos/shared/test_runner/run_demo_tests.sh index 32703bfa..6e446d20 100644 --- a/demos/shared/test_runner/run_demo_tests.sh +++ b/demos/shared/test_runner/run_demo_tests.sh @@ -25,8 +25,7 @@ do echo "starting docker containers" docker compose up -d 2>&1 > /dev/null echo "starting hurl tests" - hurl --test hurl_tests/*.hurl - if [ $? -ne 0 ]; then + if ! hurl --test hurl_tests/*.hurl; then echo "Hurl tests failed for $demo" echo "docker logs for archgw:" docker logs archgw