From e1f6802f5f21576b3d64c6dd3d6a80b888ea8865 Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Sun, 10 Feb 2013 09:29:35 -0500 Subject: [PATCH] tests: Fix bootstrap wouldn't cd for test_regress/t/t_dist_portability.pl. --- test_regress/t/bootstrap.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_regress/t/bootstrap.pl b/test_regress/t/bootstrap.pl index 07f4576f8..c910b407a 100755 --- a/test_regress/t/bootstrap.pl +++ b/test_regress/t/bootstrap.pl @@ -14,9 +14,9 @@ use Cwd qw(chdir); my @args = @ARGV; chdir("$FindBin::Bin/.."); +$ENV{PWD} = Cwd::getcwd(); # Else chdir leaves the .. which confuses later commands @args = map { s!.*test_regress/!!; $_; } @args; -print "cd $ENV{PWD} && $FindBin::Bin/bootstrap.pl ",join(' ',@args),"\n"; exec("./driver.pl", @args); die;