Skip to content

Commit 7e6124c

Browse files
committed
Remove REGRESS_OUTPUTDIR environment variable.
Andres Freund points out that the tmp_check path is already available as perl variable PostgreSQL::Test::Utils::tmp_check, so we can drop the new environment variable introduced by commit f47ed79. Discussion: https://postgr.es/m/20220213052955.dh7lheehit7bsemf%40alap3.anarazel.de
1 parent 302612a commit 7e6124c

File tree

3 files changed

+1
-7
lines changed

3 files changed

+1
-7
lines changed

src/test/recovery/Makefile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@ include $(top_builddir)/src/Makefile.global
1919
REGRESS_SHLIB=$(abs_top_builddir)/src/test/regress/regress$(DLSUFFIX)
2020
export REGRESS_SHLIB
2121

22-
# required for 027_stream_regress.pl
23-
REGRESS_OUTPUTDIR=$(abs_top_builddir)/src/test/recovery/tmp_check
24-
export REGRESS_OUTPUTDIR
25-
2622
check:
2723
$(prove_check)
2824

src/test/recovery/t/027_stream_regress.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
$node_standby_1->start;
5050

5151
my $dlpath = PostgreSQL::Test::Utils::perl2host(dirname($ENV{REGRESS_SHLIB}));
52-
my $outputdir = PostgreSQL::Test::Utils::perl2host($ENV{REGRESS_OUTPUTDIR});
52+
my $outputdir = PostgreSQL::Test::Utils::perl2host($PostgreSQL::Test::Utils::tmp_check);
5353

5454
# Run the regression tests against the primary.
5555
my $extra_opts = $ENV{EXTRA_REGRESS_OPTS} || "";

src/tools/msvc/vcregress.pl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -536,8 +536,6 @@ sub recoverycheck
536536
{
537537
InstallTemp();
538538

539-
$ENV{REGRESS_OUTPUTDIR} = "$topdir/src/test/recovery/tmp_check";
540-
541539
my $dir = "$topdir/src/test/recovery";
542540
my $status = tap_check($dir);
543541
exit $status if $status;

0 commit comments

Comments
 (0)