This is an automated email from the ASF dual-hosted git repository. cmcfarlen pushed a commit to branch 10.1.x in repository https://gitbox.apache.org/repos/asf/trafficserver.git
commit f5c69757502b6551b767559cb05cec3e1431fd77 Author: Bryan Call <[email protected]> AuthorDate: Thu Dec 4 15:49:40 2025 -0800 Fix autest.sh.in to preserve autest exit code (#12732) The trailing if-blocks for restoring UDS test directories were overwriting autest's exit code with 0, causing test failures to be silently ignored in CI. Now we capture the exit code immediately after autest runs and exit with it at the end of the script. (cherry picked from commit 671f6aef19a19e6a5a6b96b5bdf5875067a30351) --- tests/autest.sh.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/autest.sh.in b/tests/autest.sh.in index 7042c3bdea..1addbcc33a 100755 --- a/tests/autest.sh.in +++ b/tests/autest.sh.in @@ -26,6 +26,7 @@ ${RUNPIPENV} run env autest \ --build-root ${CMAKE_BINARY_DIR} \ ${CURL_UDS_FLAG} ${AUTEST_OPTIONS} \ "$@" +autest_exit=$? # Restore tests back to source tree and remove temp dir if [ -n "${CURL_UDS_FLAG}" ]; then @@ -39,3 +40,5 @@ if [ -n "${CURL_UDS_FLAG}" ]; then rm -rf "${CMAKE_SKIP_GOLD_DIR}" fi fi + +exit $autest_exit
