Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit702d003

Browse files
committed
ICU: remove negative test that fails to fail.
On OpenBSD, setlocale() does not fail on an ICU-specificlocale. Remove the test.Reported-by: Andres FreundDiscussion:https://postgr.es/m/20230702165615.k6waysygrefdeiiw@awork3.anarazel.de
1 parent3c90dcd commit702d003

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

‎src/test/icu/t/010_database.pl

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -69,18 +69,4 @@
6969
0,
7070
"LOCALE works for ICU locales if LC_COLLATE and LC_CTYPE are specified");
7171

72-
# Test that ICU-specific LOCALE without LC_COLLATE and LC_CTYPE must
73-
# be specified with ICU_LOCALE
74-
my ($ret,$stdout,$stderr) =$node1->psql(
75-
'postgres',
76-
q{CREATE DATABASE dbicu3 LOCALE_PROVIDER icu LOCALE '@colStrength=primary'
77-
TEMPLATE template0 ENCODING UTF8});
78-
isnt($ret, 0,
79-
"ICU-specific locale must be specified with ICU_LOCALE: exit code not 0");
80-
like(
81-
$stderr,
82-
qr/ERROR: invalid LC_COLLATE locale name/,
83-
"ICU-specific locale must be specified with ICU_LOCALE: error message");
84-
85-
8672
done_testing();

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp