Diff options
| author | Bryce Kwon <bryce@brycekwon.com> | |
|---|---|---|
| committer | Bryce Kwon <bryce@brycekwon.com> | |
| commit | ||
| parent | ||
| tree | ||
| download | ||
Cut test comments that repeat what is said nearby
| -rwxr-xr-x | tests/t0203-dates.sh | 2 | |
| -rwxr-xr-x | tests/t0205-config.sh | 7 | |
| -rwxr-xr-x | tests/t0401-serve.sh | 8 |
3 files changed, 4 insertions, 13 deletions
diff --git a/tests/t0203-dates.sh b/tests/t0203-dates.sh index 3c8ecab..60a4e5a 100755 --- a/tests/t0203-dates.sh +++ b/tests/t0203-dates.sh @@ -24,8 +24,6 @@ test_expect_success 'set up a dated repo' ' ) ' -# Writes the config afresh, one extra line per argument, which is what lets a -# test below name a setting or two and say nothing about the rest. daterc() { { echo "virtual-root=/" diff --git a/tests/t0205-config.sh b/tests/t0205-config.sh index 775e509..dbc73e9 100755 --- a/tests/t0205-config.sh +++ b/tests/t0205-config.sh @@ -1,11 +1,6 @@ #!/bin/sh -# Checks what the configuration parser reports on stderr. A key it does not -# know, a repo key before any repository and a filter set by a scanned -# repository without trust-scan-config are each ignored with a warning naming -# the key, a repo filter in the main cgitrc passes without one, a repository -# whose path is missing answers 404 on every page, and a config cgit fully -# understands stays silent. +# Checks what the configuration parser reports on stderr. test_description='Check configuration diagnostics' . ./setup.sh diff --git a/tests/t0401-serve.sh b/tests/t0401-serve.sh index 5a2b9b6..21a6f51 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 |
