Content-Length: 258720 | pFad | http://github.com/postgrespro/postgres_cluster/commit/43404015955804dd6ff10563f4f78f5f352dbe25

15 Avoid assuming that we know the spelling of getopt_long's error messa… · postgrespro/postgres_cluster@4340401 · GitHub
Skip to content

Commit 4340401

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 has is limited to verifying that pgbench fails for an unrecognized switch, and we don't need to assume anything about what getopt_long prints in order to do that. Discussion: https://postgr.es/m/9427.1547701450@sss.pgh.pa.us
1 parent 3e4fdb3 commit 4340401

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
@@ -62,7 +62,7 @@ sub pgbench_scripts
6262
[
6363
'bad option',
6464
'-h home -p 5432 -U calvin -d --bad-option',
65-
[ qr{(unrecognized|illegal) option}, qr{--help.*more information} ]
65+
[qr{--help.*more information}]
6666
],
6767
[
6868
'no file',

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/43404015955804dd6ff10563f4f78f5f352dbe25

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy