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

Commit97b6f2e

Browse files
committed
Remove tests for pg_dumpall --exclude-database missing argument
It turns out that different getopt implementations spell the error formissing arguments different ways. This test is of fairly marginalvalue, so instead of trying to keep up with the different errormessages just remove the test.
1 parentad0bda5 commit97b6f2e

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

‎src/bin/pg_dump/t/001_basic.pl

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
use Config;
55
use PostgresNode;
66
use TestLib;
7-
use Test::Moretests=>74;
7+
use Test::Moretests=>72;
88

99
my$tempdir = TestLib::tempdir;
1010
my$tempdir_short = TestLib::tempdir_short;
@@ -151,11 +151,6 @@
151151
'pg_restore: options -C\/--create and -1\/--single-transaction cannot be used together'
152152
);
153153

154-
command_fails_like(
155-
['pg_dumpall','--exclude-database' ],
156-
qr/\Qpg_dumpall: option '--exclude-database' requires an argument\E/,
157-
'pg_dumpall: option --exclude-database requires an argument');
158-
159154
# also fails for -r and -t, but it seems pointless to add more tests for those.
160155
command_fails_like(
161156
['pg_dumpall','--exclude-database=foo','--globals-only' ],

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp