Diff options
Diffstat (limited to '')
-rwxr-xr-xtests/t0401-serve.sh9
1 file changed, 3 insertions, 6 deletions
diff --git a/tests/t0401-serve.sh b/tests/t0401-serve.sh
index 5a2b9b6..341bbb6 100755
--- a/tests/t0401-serve.sh
+++ b/tests/t0401-serve.sh
@@ -1,11 +1,9 @@
#!/bin/sh
# Checks how tools/serve.py, the preview server that runs the built binary and
-# hands its output back over HTTP, tells the CGI headers from the body. That
-# split once keyed on the wrong blank line and swallowed the document head,
-# which left a page that still validated but arrived with no stylesheet and no
-# chrome. The cases live in serve-split-check.py beside this file, and nothing
-# here touches a repository, so the fixtures stay unbuilt.
+# hands its output back over HTTP, tells the CGI headers from the body. The
+# cases live in serve-split-check.py beside this file, and nothing here touches
+# a repository, so the fixtures stay unbuilt.
test_description='Check the preview server splits CGI output correctly'
CGIT_TEST_NO_CREATE_REPOS=YesPlease
@@ -14,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' '