mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-04-06 20:31:03 +08: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:
parent
0a16c8326c
commit
2f12df7eb4
@ -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',
|
||||
],
|
||||
},
|
||||
}
|
||||
|
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();
|
Loading…
x
Reference in New Issue
Block a user