projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0a738f
)
Don't leave 'tmp_check' directory behind in pg_rewind regression tests.
author
Heikki Linnakangas
<
[email protected]
>
Wed, 22 Apr 2015 07:14:44 +0000
(10:14 +0300)
committer
Heikki Linnakangas
<
[email protected]
>
Wed, 22 Apr 2015 07:14:44 +0000
(10:14 +0300)
src/bin/pg_rewind/RewindTest.pm
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/pg_rewind/RewindTest.pm
b/src/bin/pg_rewind/RewindTest.pm
index e6a5b9b3d955321588e306e7771f7a18a12bf9ee..84e0512143a34a007f84ea72074663e888baa3be 100644
(file)
--- 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";