tests: add codeset-utf8 as a feature

To avoid having to use <precheck> for tests that require UTF-8 support.

Closes #15039
This commit is contained in:
Daniel Stenberg 2024-09-25 14:25:55 +02:00
parent 5fb1b64fdd
commit 0b70b23ef4
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
22 changed files with 24 additions and 61 deletions

View file

@ -24,14 +24,12 @@ smtp
<features>
IDN
!win32
codeset-utf8
</features>
<setenv>
LC_ALL=en_US.UTF-8
LC_CTYPE=en_US.UTF-8
</setenv>
<precheck>
perl -MI18N::Langinfo=langinfo,CODESET -e 'die "Needs a UTF-8 locale" if (lc(langinfo(CODESET())) ne "utf-8");'
</precheck>
<name>
SMTP VRFY with SMTPUTF8 support
</name>