From e55f22e9b0af1166a5f313121f180dce04463608 Mon Sep 17 00:00:00 2001 From: Robert O'Callahan Date: Thu, 9 May 2024 22:30:26 +1200 Subject: [PATCH] Fix reference to TIMEOUT --- src/test/util.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/util.sh b/src/test/util.sh index b8592817ed9..b475c58cbeb 100644 --- a/src/test/util.sh +++ b/src/test/util.sh @@ -548,7 +548,7 @@ function checkpoint_test { exe=$1; min=$2; max=$3; function wait_for_complete { local record_dir=${1:-"${workdir}/latest-trace"} - for ((i = 0; i < TIMEOUT * 10; i++)); do + for ((i = 0; i < $TIMEOUT * 10; i++)); do [[ -f "$record_dir/incomplete" ]] || break sleep 0.1 done