Content-Length: 293030 | pFad | http://github.com/postgrespro/postgres/commit/574526a465742b2673f8bfb15e7b42c447479e86
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f989f71 commit 574526aCopy full SHA for 574526a
src/test/perl/PostgresNode.pm
@@ -128,7 +128,7 @@ sub new
128
my $self = {
129
_port => $pgport,
130
_host => $pghost,
131
- _basedir => TestLib::tempdir,
+ _basedir => TestLib::tempdir($name),
132
_name => $name,
133
_logfile => "$TestLib::log_path/${testname}_${name}.log" };
134
src/test/perl/TestLib.pm
@@ -112,9 +112,11 @@ INIT
112
#
113
sub tempdir
114
{
115
+ my ($prefix) = @_;
116
+ $prefix = "tmp_test" if (!$prefix);
117
return File::Temp::tempdir(
- 'tmp_testXXXX',
- DIR => $tmp_check,
118
+ $prefix . '_XXXX',
119
+ DIR => $tmp_check,
120
CLEANUP => 1);
121
}
122
Fetched URL: http://github.com/postgrespro/postgres/commit/574526a465742b2673f8bfb15e7b42c447479e86
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy
0 commit comments