From aa51adcfc9a79c606aa4435dc64dd5f160efbde1 Mon Sep 17 00:00:00 2001 From: peter Date: Sun, 20 Sep 2026 20:58:10 +0000 Subject: Start working on migrating to autoconf/automake instead of cmake FossilOrigin-Name: d870487495106763d2a4e416f1ddbf4c795081a6b77100d34063591e385692e0 --- tests/scripts/simfail.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/scripts/simfail.sh') diff --git a/tests/scripts/simfail.sh b/tests/scripts/simfail.sh index fe64a25..c10a7cb 100755 --- a/tests/scripts/simfail.sh +++ b/tests/scripts/simfail.sh @@ -5,6 +5,10 @@ set -e export APLWC_SIMULATE_FAILURE_PRINT_COUNT=1 N=$($1 3>&1 1>/dev/null 2>/dev/null) n=1 +if [ -z "$N" ]; then + N=0 +fi + export APLWC_SIMULATE_FAILURE_PRINT_COUNT=0 while [ "$n" -le "$N" ] -- cgit v1.2.3