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
This commit is contained in:
Noah Misch 2025-01-26 09:39:05 -08:00
parent 0a16c8326c
commit 2f12df7eb4
4 changed files with 16 additions and 2 deletions

View File

@ -6,8 +6,9 @@ tests += {
'bd': meson.current_build_dir(),
'tap': {
'tests': [
't/001_connection_limits.pl',
't/002_start_stop.pl',
't/001_basic.pl',
't/002_connection_limits.pl',
't/003_start_stop.pl',
],
},
}

View File

@ -0,0 +1,13 @@
# Copyright (c) 2021-2025, PostgreSQL Global Development Group
use strict;
use warnings FATAL => 'all';
use PostgreSQL::Test::Utils;
use Test::More;
program_help_ok('postgres');
program_version_ok('postgres');
program_options_handling_ok('postgres');
done_testing();