Skip to content

Commit 2f12df7

Browse files
committed
Test postmaster with program_options_handling_ok() et al.
Most executables already get that testing. To occupy the customary 001_basic.pl name, this renumbers the new-in-October tests of src/test/postmaster/t. Reviewed by Thomas Munro. Discussion: https://postgr.es/m/20241215022701.a1.nmisch@google.com
1 parent 0a16c83 commit 2f12df7

File tree

4 files changed

+16
-2
lines changed

4 files changed

+16
-2
lines changed

src/test/postmaster/meson.build

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ tests += {
66
'bd': meson.current_build_dir(),
77
'tap': {
88
'tests': [
9-
't/001_connection_limits.pl',
10-
't/002_start_stop.pl',
9+
't/001_basic.pl',
10+
't/002_connection_limits.pl',
11+
't/003_start_stop.pl',
1112
],
1213
},
1314
}

src/test/postmaster/t/001_basic.pl

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
2+
# Copyright (c) 2021-2025, PostgreSQL Global Development Group
3+
4+
use strict;
5+
use warnings FATAL => 'all';
6+
use PostgreSQL::Test::Utils;
7+
use Test::More;
8+
9+
program_help_ok('postgres');
10+
program_version_ok('postgres');
11+
program_options_handling_ok('postgres');
12+
13+
done_testing();

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy