Don't leave 'tmp_check' directory behind in pg_rewind regression tests.

This commit is contained in:
Heikki Linnakangas 2015-04-22 10:14:44 +03:00
parent b0a738f428
commit 4d930eee89

View file

@ -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";