Commit graph

19 commits

Author SHA1 Message Date
Viktor Szakats
df56ad6a27
try with LC_ALL=C.UTF-8 only 2025-07-22 23:07:57 +02:00
Viktor Szakats
a5a153cdc2
962 set just LC_ALL 2025-07-22 23:07:57 +02:00
Viktor Szakats
9af5d0bfde
set both 2025-07-22 23:07:57 +02:00
Viktor Szakats
7b8ffd7400
try something 1 2025-07-22 23:07:57 +02:00
Viktor Szakats
abc2015b41
try something to fix codeset-test job 2025-07-22 23:07:57 +02:00
Viktor Szakats
921a682fdf
Revert "do a test without deleting LC_ALL 1"
This reverts commit 9602e2275d1bddf3db3eac2408b86845f9a36011.
2025-07-22 23:07:56 +02:00
Viktor Szakats
e9312b693a
Revert "do a test without deleting LC_CTYPE"
This reverts commit cd34217d36f6ad838a80fc090a6cd6752d90baf4.
2025-07-22 23:07:47 +02:00
Viktor Szakats
e09321d7d3
Revert "test a few per-test combinations"
This reverts commit ecea989937db4e41d8f9dda0209b8a444b7a06bf.

962 and 965 works, that's the two setting both LC_ variables

```
FAIL 165: 'HTTP over proxy with IDN host name' HTTP, HTTP GET, HTTP proxy, IDN
FAIL 963: 'SMTP without SMTPUTF8 support (IDN) - UTF-8 recipient (host part only)' SMTP, IDN
FAIL 964: 'SMTP external VRFY without SMTPUTF8 (IDN) - UTF-8 recipient (host part)' SMTP, VRFY, IDN
FAIL 966: 'SMTP with SMTPUTF8 support - UTF-8 based recipient' SMTP, IDN
FAIL 967: 'SMTP external VRFY with SMTPUTF8 support' SMTP, VRFY, IDN
FAIL 1448: 'Redirect following to UTF-8 IDN host name' HTTP, HTTP GET, IDN, followlocation, --resolve, --write-out
FAIL 1560: 'URL API' unittest, urlapi
FAIL 2046: 'Connection reuse with IDN host name' HTTP, HTTP GET, IDN, followlocation, --resolve, --write-out
FAIL 2047: 'Connection reuse with IDN host name over HTTP proxy' HTTP, HTTP GET, HTTP proxy, IDN, followlocation, --write-out
```
2025-07-22 23:07:47 +02:00
Viktor Szakats
69b457ddbe
test a few per-test combinations 2025-07-22 23:07:47 +02:00
Viktor Szakats
7030c89db8
do a test without deleting LC_CTYPE 2025-07-22 23:07:47 +02:00
Viktor Szakats
28335753df
do a test without deleting LC_ALL 1 2025-07-22 23:07:46 +02:00
Viktor Szakats
32e90cc5f5
remove LC_ALL env to ensure LC_TYPE takes effect 2025-07-22 23:07:15 +02:00
Daniel Stenberg
11cad7bf32
tests: provide all non-ascii data hex encoded
- make the scanner not whitelist anything for test cases making
  everything non-ascii forced to be hex encoded

- update all tests using non-ascii bytes to use %hex[] sequences

Closes #17331
2025-05-13 10:32:35 +02:00
Daniel Stenberg
0b70b23ef4
tests: add codeset-utf8 as a feature
To avoid having to use <precheck> for tests that require UTF-8 support.

Closes #15039
2024-09-26 08:44:59 +02:00
Viktor Szakats
18f1cd7a77
tests: sync feature names with curl -V
Some feature names used in tests had minor differences compared to
the well-known ones from `curl -V`. This patch syncs them to make test
results easier to grok.

Closes #14183
2024-07-16 00:44:55 +02:00
Daniel Stenberg
3fd80c7b59
tests: remove leading spaces from some tags
The threee tags `<name>`, `</name>` and `<command>` were frequently used
with a leading space that this removes. The reason this habbit is so
widespread in testcases is probably that they have been copy and pasted.

Hence, fixing them all now might curb this practice from now on.

Closes #12028
2023-10-04 14:15:23 +02:00
Daniel Stenberg
e2b4df7b5e
tests: use %TESTNUMBER instead of fixed number
This makes the tests easier to copy and relocate to other test numbers
without having to update content.

Closes #6738
2021-03-19 15:57:21 +01:00
Daniel Stenberg
5494afac8f
tests: disable 962, 963 and 964 on Windows
These tests are also doing UTF-8 SMTP.

Follow-up to df207d2dd9
2020-03-02 14:44:46 +01:00
Steve Holme
68fb25fa3f
smtp: Support UTF-8 based host names in the MAIL command
Non-ASCII host names will be ACE encoded if IDN is supported.
2020-02-26 11:02:38 +00:00