mirror of
https://github.com/curl/curl.git
synced 2026-08-26 17:53:33 +03:00
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:
parent
5fb1b64fdd
commit
0b70b23ef4
22 changed files with 24 additions and 61 deletions
|
|
@ -83,6 +83,7 @@ BEGIN {
|
|||
|
||||
use Digest::MD5 qw(md5);
|
||||
use List::Util 'sum';
|
||||
use I18N::Langinfo qw(langinfo CODESET);
|
||||
|
||||
use pathhelp qw(
|
||||
exe_ext
|
||||
|
|
@ -825,6 +826,7 @@ sub checksystemfeatures {
|
|||
$feature{"large-time"} = 1;
|
||||
$feature{"sha512-256"} = 1;
|
||||
$feature{"local-http"} = servers::localhttp();
|
||||
$feature{"codeset-utf8"} = lc(langinfo(CODESET())) eq "utf-8";
|
||||
|
||||
# make each protocol an enabled "feature"
|
||||
for my $p (@protocols) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue