From dfeda775730b83fb43ae0a8732bd576ffa17e5c4 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Wed, 22 Mar 2023 14:52:24 -0700 Subject: [PATCH] tests: document that the unittest keyword is special Also, add other features that were missing. --- tests/FILEFORMAT.md | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/tests/FILEFORMAT.md b/tests/FILEFORMAT.md index aff0e2d4f1..1ecd407043 100644 --- a/tests/FILEFORMAT.md +++ b/tests/FILEFORMAT.md @@ -177,7 +177,7 @@ requests curl sends - **client** defines how the client should behave - **verify** defines how to verify that the data stored after a command has -been run ended up correctly +been run ended up correct Each main section has a number of available subsections that can be specified, that will be checked/used if specified. @@ -192,8 +192,13 @@ tests. Keywords must begin with an alphabetic character, `-`, `[` or `{` and may actually consist of multiple words separated by spaces which are treated together as a single identifier. -When using curl built with Hyper, the keywords must include HTTP or HTTPS for -'hyper mode' to kick in and make line ending checks work for tests. +When using curl built with Hyper, the keywords must include `HTTP` or `HTTPS` +for 'hyper mode' to kick in and make line ending checks work for tests. + +When running a unit test and the keywords include `unittest`, the `` +section can be left empty to use the standard unit test tool name `unitN` where +`N` is the test number. + ## `` ### `` @@ -400,7 +405,9 @@ Features testable here are: - `alt-svc` - `bearssl` +- `brotli` - `c-ares` +- `CharConv` - `cookies` - `crypto` - `debug` @@ -409,9 +416,12 @@ Features testable here are: - `GnuTLS` - `GSS-API` - `h2c` +- `headers-api` - `HSTS` - `HTTP-auth` - `http/2` +- `http/3` +- `https-proxy` - `hyper` - `idn` - `ipv6` @@ -426,8 +436,11 @@ Features testable here are: - `mbedtls` - `Mime` - `netrc` +- `nghttpx` +- `nghttpx-h3` - `NSS` - `NTLM` +- `NTLM_WB` - `OpenSSL` - `parsedate` - `proxy` @@ -445,6 +458,7 @@ Features testable here are: - `TLS-SRP` - `TrackMemory` - `typecheck` +- `threadsafe` - `Unicode` - `unittest` - `unix-sockets` @@ -454,6 +468,7 @@ Features testable here are: - `wolfssh` - `wolfssl` - `xattr` +- `zstd` as well as each protocol that curl supports. A protocol only needs to be specified if it is different from the server (useful when the server is -- 2.47.3