From dea700dd3811ed9614896932e8844a10bb713464 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= <manuel.pegourie-gonnard@arm.com> Date: Mon, 4 Nov 2024 11:40:44 +0100 Subject: [PATCH] all.sh: improve wrapper error reporting MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com> --- tests/scripts/all.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh index 20ca89951d..b1261bfc15 100755 --- a/tests/scripts/all.sh +++ b/tests/scripts/all.sh @@ -55,7 +55,7 @@ if [ "$#" -eq 1 ]; then fi fi -if [ "$#" -ne 4 -o "$1" != '--seed' -o "$3" != '--keep-going' ]; then +if [ "$#" -ne 4 -o "${1:-unset}" != '--seed' -o "${3:-unset}" != '--keep-going' ]; then echo "This invocation is not supported by the transitional wrapper." >&2 echo "See the comments at the top of $0." >&2 exit 1