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

Commitc992dca

Browse files
committed
Clarify the README files for the various separate TAP-based test suites.
Explain the difference between "make check" and "make installcheck".Mention the need for --enable-tap-tests (only some of these did sobefore). Standardize their wording about how to run the tests.
1 parent9bab9cb commitc992dca

File tree

6 files changed

+62
-31
lines changed

6 files changed

+62
-31
lines changed

‎src/test/authentication/README

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,16 @@ are more complicated, and are not safe to run in a multi-user system.
1111
Running the tests
1212
=================
1313

14-
make check
14+
NOTE: You must have given the --enable-tap-tests argument to configure.
1515

16+
Run
17+
make check
1618
or
17-
1819
make installcheck
20+
You can use "make installcheck" if you previously did "make install".
21+
In that case, the code in the installation tree is tested. With
22+
"make check", a temporary installation tree is built from the current
23+
sources and then tested.
1924

20-
NOTE: This requires the --enable-tap-tests argument to configure.
25+
Either way, this test initializes, starts, and stops a test Postgres
26+
cluster.

‎src/test/kerberos/README

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,19 @@ users.
1616
Running the tests
1717
=================
1818

19-
make check
19+
NOTE: You must have given the --enable-tap-tests argument to configure.
2020

21+
Run
22+
make check
2123
or
22-
2324
make installcheck
25+
You can use "make installcheck" if you previously did "make install".
26+
In that case, the code in the installation tree is tested. With
27+
"make check", a temporary installation tree is built from the current
28+
sources and then tested.
29+
30+
Either way, this test initializes, starts, and stops a test Postgres
31+
cluster, as well as a test KDC server.
2432

2533
Requirements
2634
============
@@ -30,6 +38,6 @@ supported.
3038

3139
Debian/Ubuntu packages: krb5-admin-server krb5-kdc krb5-user
3240

33-
RHEL/CentOS packages: krb5-server krb5-workstation
41+
RHEL/CentOS/Fedora packages: krb5-server krb5-workstation
3442

3543
FreeBSD port: krb5 (base system has Heimdal)

‎src/test/ldap/README

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,19 @@ users.
1717
Running the tests
1818
=================
1919

20-
make check
20+
NOTE: You must have given the --enable-tap-tests argument to configure.
2121

22+
Run
23+
make check
2224
or
23-
2425
make installcheck
26+
You can use "make installcheck" if you previously did "make install".
27+
In that case, the code in the installation tree is tested. With
28+
"make check", a temporary installation tree is built from the current
29+
sources and then tested.
30+
31+
Either way, this test initializes, starts, and stops a test Postgres
32+
cluster, as well as a test LDAP server.
2533

2634
Requirements
2735
============

‎src/test/recovery/README

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,16 @@ This directory contains a test suite for recovery and replication.
88
Running the tests
99
=================
1010

11-
make check
11+
NOTE: You must have given the --enable-tap-tests argument to configure.
1212

13+
Run
14+
make check
1315
or
14-
1516
make installcheck
17+
You can use "make installcheck" if you previously did "make install".
18+
In that case, the code in the installation tree is tested. With
19+
"make check", a temporary installation tree is built from the current
20+
sources and then tested.
1621

17-
NOTE: This creates a temporary installation (in the case of "check"),
18-
and some tests may create one or multiple nodes, be they master or
19-
standby(s) for the purpose of the tests.
20-
21-
NOTE: This requires the --enable-tap-tests argument to configure.
22+
Either way, this test initializes, starts, and stops several test Postgres
23+
clusters.

‎src/test/ssl/README

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,27 @@ This directory contains a test suite for SSL support. It tests both
77
client-side functionality, i.e. verifying server certificates, and
88
server-side functionality, i.e. certificate authorization.
99

10+
CAUTION: The test server run by this test is configured to listen for
11+
TCP connections on localhost. Any user on the same host is able to
12+
log in to the test server while the tests are running. Do not run this
13+
suite on a multi-user system where you don't trust all local users!
14+
1015
Running the tests
1116
=================
1217

13-
make check
18+
NOTE: You must have given the --enable-tap-tests argument to configure.
1419

20+
Run
21+
make check
1522
or
16-
1723
make installcheck
24+
You can use "make installcheck" if you previously did "make install".
25+
In that case, the code in the installation tree is tested. With
26+
"make check", a temporary installation tree is built from the current
27+
sources and then tested.
1828

19-
NOTE: This creates a temporary installation (in the case of "check"),
20-
and sets it up to listen for TCP connections on localhost. Any user on
21-
the same host is allowed to log in to the test installation while the
22-
tests are running. Do not run this suite on a multi-user system where
23-
you don't trust all local users!
29+
Either way, this test initializes, starts, and stops a test Postgres
30+
cluster that is accessible to other local users!
2431

2532
Certificates
2633
============

‎src/test/subscription/README

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@ This directory contains a test suite for subscription/logical replication.
88
Running the tests
99
=================
1010

11-
make check
11+
NOTE: You must have given the --enable-tap-tests argument to configure.
1212

13+
Run
14+
make check
1315
or
14-
1516
make installcheck
17+
You can use "make installcheck" if you previously did "make install"
18+
(including installing the hstore extension). In that case, the code
19+
in the installation tree is tested. With "make check", a temporary
20+
installation tree is built from the current sources and then tested.
1621

17-
This requires the --enable-tap-tests argument to configure.
18-
19-
Running the tests creates a temporary installation (in the case of
20-
"check"), and some tests may create one or multiple nodes, for the
21-
purpose of the tests.
22-
23-
Running installcheck requires the hstore extension to be installed.
22+
Either way, this test initializes, starts, and stops several test Postgres
23+
clusters.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp