Skip to content

Commit 4d930ee

Browse files
committed
Don't leave 'tmp_check' directory behind in pg_rewind regression tests.
1 parent b0a738f commit 4d930ee

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/bin/pg_rewind/RewindTest.pm

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,11 @@ our @EXPORT = qw(
6262
clean_rewind_test
6363
);
6464

65+
# A temporary directory created with 'tempdir' is deleted automatically at
66+
# the end of the tests. You can change it to a constant if you need to keep it
67+
# for debugging purposes,
68+
my $testroot = tempdir;
6569

66-
# Adjust these paths for your environment
67-
my $testroot = "./tmp_check";
6870
our $test_master_datadir="$testroot/data_master";
6971
our $test_standby_datadir="$testroot/data_standby";
7072

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