mirror of
https://github.com/postgres/postgres.git
synced 2025-07-03 20:02:46 +03:00
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:
@ -6,8 +6,9 @@ tests += {
|
|||||||
'bd': meson.current_build_dir(),
|
'bd': meson.current_build_dir(),
|
||||||
'tap': {
|
'tap': {
|
||||||
'tests': [
|
'tests': [
|
||||||
't/001_connection_limits.pl',
|
't/001_basic.pl',
|
||||||
't/002_start_stop.pl',
|
't/002_connection_limits.pl',
|
||||||
|
't/003_start_stop.pl',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
13
src/test/postmaster/t/001_basic.pl
Normal file
13
src/test/postmaster/t/001_basic.pl
Normal 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();
|
Reference in New Issue
Block a user