Skip to content

Commit 05d8785

Browse files
Document PG_TEST_NOCLEAN in TAP test README
Commit 90627cf added support for retaining the data directory even on successful tests, but failed to document the environment variable which controls retention. This adds a small note to the TAP test README about PG_TEST_NOCLEAN which when set skips removing the data directories from successful tests. Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us> Discussion: https://postgr.es/m/2B02C1B3-3F41-4E14-92B9-005D83623A0B@yesql.se
1 parent d6eb5a0 commit 05d8785

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/test/perl/README

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ tmp_check/log/ to get more info. Files named 'regress_log_XXX' are log
2323
output from the perl test scripts themselves, and should be examined first.
2424
Other files are postmaster logs, and may be helpful as additional data.
2525

26+
Data directories will also be left behind for analysis when a test fails;
27+
they are named according to the test filename. But if the environment
28+
variable PG_TEST_NOCLEAN is set, data directories will be retained
29+
regardless of test status.
30+
2631

2732
Writing tests
2833
-------------

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy