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

Commit251f574

Browse files
committed
Avoid assuming that we know the spelling of getopt_long's error messages.
I've had enough of "fixing" this test case. Whatever value it hasis limited to verifying that pgbench fails for an unrecognized switch,and we don't need to assume anything about what getopt_long prints inorder to do that.Discussion:https://postgr.es/m/9427.1547701450@sss.pgh.pa.us
1 parentc5660e0 commit251f574

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/bin/pgbench/t/002_pgbench_no_server.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ sub pgbench_scripts
6666
[
6767
'bad option',
6868
'-h home -p 5432 -U calvin -d --bad-option',
69-
[qr{(unrecognized|illegal) option},qr{--help.*more information}]
69+
[qr{--help.*more information}]
7070
],
7171
[
7272
'no file',

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp