Support retaining data dirs on successful TAP tests
Peter Eisentraut <peter_e@gmx.net>
Support retaining data dirs on successful TAP tests This moves the data directories from using temporary directories with randomness in the directory name to a static name, to make it easier to debug. The data directory will be retained if tests fail or the test code dies/exits with failure, and is automatically removed on the next make check. If the environment variable PG_TEST_NOCLEAN is defined, the data directories will be retained regardless of test or exit status. Author: Daniel Gustafsson <daniel@yesql.se>
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/pg_rewind/RewindTest.pm | modified | +5 −2 |
| src/bin/pg_rewind/t/001_basic.pl | modified | +2 −2 |
| src/bin/pg_rewind/t/002_databases.pl | modified | +2 −2 |
| src/bin/pg_rewind/t/003_extrafiles.pl | modified | +2 −2 |
| src/bin/pg_rewind/t/004_pg_xlog_symlink.pl | modified | +2 −2 |
| src/Makefile.global.in | modified | +4 −2 |
| src/test/perl/PostgresNode.pm | modified | +44 −3 |