From: Heikki Linnakangas Date: Wed, 22 Apr 2015 07:14:44 +0000 (+0300) Subject: Don't leave 'tmp_check' directory behind in pg_rewind regression tests. X-Git-Tag: REL9_5_ALPHA1~419 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4d930eee89954ef8ac5402f3d568c11ff6256035;p=postgresql Don't leave 'tmp_check' directory behind in pg_rewind regression tests. --- diff --git a/src/bin/pg_rewind/RewindTest.pm b/src/bin/pg_rewind/RewindTest.pm index e6a5b9b3d9..84e0512143 100644 --- a/src/bin/pg_rewind/RewindTest.pm +++ b/src/bin/pg_rewind/RewindTest.pm @@ -62,9 +62,11 @@ our @EXPORT = qw( clean_rewind_test ); +# A temporary directory created with 'tempdir' is deleted automatically at +# the end of the tests. You can change it to a constant if you need to keep it +# for debugging purposes, +my $testroot = tempdir; -# Adjust these paths for your environment -my $testroot = "./tmp_check"; our $test_master_datadir="$testroot/data_master"; our $test_standby_datadir="$testroot/data_standby";