summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Eisentraut2022-09-19 19:22:43 +0000
committerPeter Eisentraut2022-09-19 19:22:43 +0000
commitcab3ce7a065b8ec04303d680a64bd9aa9bdd29db (patch)
treeef556889022d0c96a14f9ae20bf5a57206f49b45 /src
parent48a257d444a787941ba3da24d65e6cbe31461d0a (diff)
Fix icu tests with C locale
Similar to 1e08576691bf1a25c0e28745e5e800c44f2a1c76, but for the icu test suite. Reported-by: Christoph Berg <myon@debian.org> Discussion: https://www.postgresql.org/message-id/YyWeU61YMFwjVdxE@msg.df7cb.de
Diffstat (limited to 'src')
-rw-r--r--src/test/icu/t/010_database.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/icu/t/010_database.pl b/src/test/icu/t/010_database.pl
index 7035ff3c209..3ddc5d878dd 100644
--- a/src/test/icu/t/010_database.pl
+++ b/src/test/icu/t/010_database.pl
@@ -54,7 +54,7 @@ b),
# Test error cases in CREATE DATABASE involving locale-related options
my ($ret, $stdout, $stderr) = $node1->psql('postgres',
- q{CREATE DATABASE dbicu LOCALE_PROVIDER icu TEMPLATE template0});
+ q{CREATE DATABASE dbicu LOCALE_PROVIDER icu TEMPLATE template0 ENCODING UTF8});
isnt($ret, 0,
"ICU locale must be specified for ICU provider: exit code not 0");
like(