Fix createdb tests for C locale
authorPeter Eisentraut <peter@eisentraut.org>
Fri, 16 Sep 2022 09:10:41 +0000 (11:10 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Fri, 16 Sep 2022 09:10:41 +0000 (11:10 +0200)
commit1e08576691bf1a25c0e28745e5e800c44f2a1c76
treebbe20f0af957adf27274a0cd46ba30f536b58300
parentc7db01e325a530ec38ec7ba57cd3ed32e123e33c
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.
src/bin/scripts/t/020_createdb.pl