Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2f12df7

Browse files
committed
Test postmaster with program_options_handling_ok() et al.
Most executables already get that testing. To occupy the customary001_basic.pl name, this renumbers the new-in-October tests ofsrc/test/postmaster/t.Reviewed by Thomas Munro.Discussion:https://postgr.es/m/20241215022701.a1.nmisch@google.com
1 parent0a16c83 commit2f12df7

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 warningsFATAL=>'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)

[8]ページ先頭

©2009-2025 Movatter.jp