From b84fc23a3cb55426802c16fadbb1c89945f48754 Mon Sep 17 00:00:00 2001 From: Bryan Bayerdorffer Date: Wed, 25 Feb 2026 11:37:27 -0600 Subject: [PATCH] Fix check-fail exit status. (cherry picked from commit cddca6a6b77201831a5c8cb266c9273ba24d1698) Signed-off-by: Bryan Bayerdorffer --- scripts/Makefile.inc.test | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/Makefile.inc.test b/scripts/Makefile.inc.test index 5f3d64275..4aa491e96 100644 --- a/scripts/Makefile.inc.test +++ b/scripts/Makefile.inc.test @@ -267,7 +267,7 @@ h2_report.html: report.html .PHONY: check check-fail check-fail: - @for SUBDIR in ${SUBDIRS}; do\ + @((((for SUBDIR in ${SUBDIRS}; do\ echo -n "$$SUBDIR: "; \ if [ ! -s $$SUBDIR/results.txt ]; then\ echo FAIL - Empty/No results.txt; \ @@ -299,7 +299,7 @@ check-fail: exit 1;\ fi;\ echo; \ - done 2>&1 | tee -a $(TESTOUT) + done 2>&1; echo $? >&3) | tee -a $(TESTOUT) >&4) 3>&1) | (read stat; exit $$stat)) 4>&1 check: @for SUBDIR in ${SUBDIRS}; do\