Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc4b0edb

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 by008cf04, to fail. Thisremoves 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.comBackpatch-through: 11
1 parent428a260 commitc4b0edb

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::Moretests=>22;
6+
use Test::Moretests=>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)

[8]ページ先頭

©2009-2025 Movatter.jp