Content-Length: 274327 | pFad | http://github.com/postgrespro/postgres/commit/702d003269297042903c978176c0dd1ca77d5e60

59 ICU: remove negative test that fails to fail. · postgrespro/postgres@702d003 · GitHub
Skip to content

Commit 702d003

Browse files
committed
ICU: remove negative test that fails to fail.
On OpenBSD, setlocale() does not fail on an ICU-specific locale. Remove the test. Reported-by: Andres Freund Discussion: https://postgr.es/m/20230702165615.k6waysygrefdeiiw@awork3.anarazel.de
1 parent 3c90dcd commit 702d003

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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/702d003269297042903c978176c0dd1ca77d5e60

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy