Skip to content

Commit 9748fbc

Browse files
author
Commitfest Bot
committed
[CF 5823] v3 - Missing program_XXX calling in pgbench tests
This branch was automatically generated by a robot using patches from an email thread registered at: https://commitfest.postgresql.org/patch/5823 The branch will be overwritten each time a new patch version is posted to the thread, and also periodically to check for bitrot caused by changes on the master branch. Patch(es): https://www.postgresql.org/message-id/OSCPR01MB1496610451F5896375B2562E6F56BA@OSCPR01MB14966.jpnprd01.prod.outlook.com Author(s): Hayato Kuroda
2 parents 66e9df9 + 5e3bf2c commit 9748fbc

File tree

1 file changed

+3
-15
lines changed

1 file changed

+3
-15
lines changed

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

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -233,21 +233,9 @@ sub pgbench_scripts
233233
'pgbench option error: ' . $name);
234234
}
235235

236-
# Help
237-
pgbench(
238-
'--help', 0,
239-
[
240-
qr{benchmarking tool for PostgreSQL},
241-
qr{Usage},
242-
qr{Initialization options:},
243-
qr{Common options:},
244-
qr{Report bugs to}
245-
],
246-
[qr{^$}],
247-
'pgbench help');
248-
249-
# Version
250-
pgbench('-V', 0, [qr{^pgbench .PostgreSQL. }], [qr{^$}], 'pgbench version');
236+
program_help_ok('pgbench');
237+
program_version_ok('pgbench');
238+
program_options_handling_ok('pgbench');
251239

252240
# list of builtins
253241
pgbench(

0 commit comments

Comments
 (0)