Skip to content

Commit c4b0edb

Browse files
committed
Remove TAP test for createdb --lc-ctype
OpenBSD falls back to "C" when using an incorrect input with setlocale() and LC_CTYPE, causing this test, introduced by 008cf04, to fail. This removes the culprit test to avoid the portability issue. Per report from Robert Haas, via buildfarm member curculio. Discussion: https://postgr.es/m/CA+TgmoZ6ddh3mHD9gU8DvNYoFmuJaYYn1+4AvZNp25vTdRwCAQ@mail.gmail.com Backpatch-through: 11
1 parent 428a260 commit c4b0edb

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

src/bin/scripts/t/020_createdb.pl

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
use PostgresNode;
55
use TestLib;
6-
use Test::More tests => 22;
6+
use Test::More tests => 19;
77

88
program_help_ok('createdb');
99
program_version_ok('createdb');
@@ -40,11 +40,3 @@
4040
qr/^createdb: error: database creation failed: ERROR: invalid locale name/s
4141
],
4242
'createdb with incorrect --lc-collate');
43-
$node->command_checks_all(
44-
[ 'createdb', '--lc-ctype', "foo'; SELECT '1", 'foobar2' ],
45-
1,
46-
[qr/^$/],
47-
[
48-
qr/^createdb: error: database creation failed: ERROR: invalid locale name/s
49-
],
50-
'createdb with incorrect --lc-ctype');

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy