From 297f25b24dfbabd334acf7ccbe5bbb7f0da45882 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 15 Jun 2012 00:31:10 +0100 Subject: [PATCH] tmpdir: spec mentions ADTTMP, not TMPDIR --- debian/changelog | 7 ++++++- doc/README.package-tests | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) 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). -- 2.30.2