From 1ab4ae1b182b26417510044fbf424814b1e9824d Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sat, 31 Oct 2026 14:48:46 -0700 Subject: Drop the exit lines that follow test_done test_done ends the script on every path, skip_all included. --- tests/t0002-html-validity.sh | 2 -- tests/t0006-nolua.sh | 1 - tests/t0302-home-access.sh | 2 -- tests/t0401-serve.sh | 1 - 4 files changed, 6 deletions(-) diff --git a/tests/t0002-html-validity.sh b/tests/t0002-html-validity.sh index f5e918c..15875ba 100755 --- a/tests/t0002-html-validity.sh +++ b/tests/t0002-html-validity.sh @@ -38,7 +38,6 @@ test_url() { tidy=$(command -v tidy) || { skip_all='Skipping html validation tests: tidy not found' test_done - exit } # Releases of tidy that predate HTML5 reject the semantic elements cgit emits, @@ -49,7 +48,6 @@ printf '\nt/dev/null 2>&1 || { skip_all='Skipping access validation tests: strace not found' test_done - exit } strace true 2>/dev/null || { skip_all='Skipping access validation tests: strace not functional' test_done - exit } test_no_home_access() { diff --git a/tests/t0401-serve.sh b/tests/t0401-serve.sh index 21a6f51..341bbb6 100755 --- a/tests/t0401-serve.sh +++ b/tests/t0401-serve.sh @@ -12,7 +12,6 @@ CGIT_TEST_NO_CREATE_REPOS=YesPlease command -v python3 >/dev/null 2>&1 || { skip_all='Skipping preview server tests: python3 not found' test_done - exit } test_expect_success 'CGI headers and body are split at the first blank line' ' -- cgit