Fix createdb tests for C locale

Peter Eisentraut <peter@eisentraut.org>

Commit: 8135d0bd455217bd345090bae085b2bbcf62bdb0
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2022-09-16T09:15:55Z
Releases: 15.0
Fix createdb tests for C locale

If the createdb tests run under the C locale, the database cluster
will be initialized with encoding SQL_ASCII.  With the checks added in
c7db01e325a530ec38ec7ba57cd3ed32e123e33c, this will cause several
ICU-related tests to fail because SQL_ASCII is not supported by ICU.
To work around that, use initdb option -E UTF8 for those tests to get
past that check.

Files

PathChange+/−
src/bin/scripts/t/020_createdb.pl modified +7 −3