Skip to content

Commit

Permalink
Remove explicit tmpdir request in other instance of File::Temp
Browse files Browse the repository at this point in the history
  • Loading branch information
turnstep committed Dec 21, 2024
1 parent 320d99a commit 586c05b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/dbdpg_test_setup.pl
Original file line number Diff line number Diff line change
Expand Up @@ -826,7 +826,7 @@ sub get_test_settings {
if (!$testdir) {
my $dir = getcwd();
$testdir = exists $ENV{DBDPG_TEMPDIR} ?
File::Temp::tempdir("$ENV{DBDPG_TEMPDIR}/dbdpg_testdatabase_XXXXXX", TMPDIR => 1, CLEANUP => 0) :
File::Temp::tempdir("$ENV{DBDPG_TEMPDIR}/dbdpg_testdatabase_XXXXXX", CLEANUP => 0) :
"$dir/dbdpg_test_database";
}

Expand Down

0 comments on commit 586c05b

Please sign in to comment.