From 7fbf9b1b07dcfb656d9c389c76ae74dd35542c21 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Mon, 19 Sep 2022 15:22:43 -0400 Subject: [PATCH] Fix icu tests with C locale Similar to 1e08576691bf1a25c0e28745e5e800c44f2a1c76, but for the icu test suite. Reported-by: Christoph Berg Discussion: https://www.postgresql.org/message-id/YyWeU61YMFwjVdxE@msg.df7cb.de --- src/test/icu/t/010_database.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/icu/t/010_database.pl b/src/test/icu/t/010_database.pl index 7035ff3c20..3ddc5d878d 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(