Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0cc6bad

Browse files
committed
Create TestLib.pm's tempdir underneath tmp_check/, not out in the open.
This way, existing .gitignore entries and makefile clean actions willautomatically apply to the tempdir, should it survive a TAP test run(which can happen if the user control-C's out of the run, for example).Michael Paquier, per a complaint from me
1 parent85cb94f commit0cc6bad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/test/perl/TestLib.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ sub tempdir
112112
{
113113
return File::Temp::tempdir(
114114
'tmp_testXXXX',
115-
DIR=>$ENV{TESTDIR} || cwd(),
115+
DIR=>$tmp_check,
116116
CLEANUP=> 1);
117117
}
118118

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp