From: Ian Jackson Date: Thu, 14 Jun 2012 23:31:10 +0000 (+0100) Subject: tmpdir: spec mentions ADTTMP, not TMPDIR X-Git-Tag: debian/2.2.0~3 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=297f25b24dfbabd334acf7ccbe5bbb7f0da45882;p=autopkgtest.git tmpdir: spec mentions ADTTMP, not TMPDIR --- diff --git a/debian/changelog b/debian/changelog index 4d33e94..d80df1b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,11 @@ autopkgtest (2.1.1~~iwj) unstable; urgency=low - * + * Provide tests with ADTTMP rather than TMPDIR. + + Well, actually, that's just according to the spec. In reality, for + backward compatibity, we provide each test script with both (pointing + to different directories so that tests don't need to worry about + possible filename clashes between ADTTMP and TMPDIR). -- diff --git a/doc/README.package-tests b/doc/README.package-tests index 3d47035..b83f7d0 100644 --- a/doc/README.package-tests +++ b/doc/README.package-tests @@ -28,7 +28,7 @@ If the file to be executed has no execute bits set, chmod a+x is applied to it (this means that tests can be added in patches without the need for additional chmod; contrast this with debian/rules). -During execution of the test, the environment variable TMPDIR will +During execution of the test, the environment variable ADTTMP will point to a directory for the execution of this particular test, which starts empty and will be deleted afterwards (so there is no need for the test to clean up files left there).