[med-svn] [bamtools] 02/04: debian/tests: s/ADTTMP/AUTOPKGTEST_TMP/g

Afif Elghraoui afif at moszumanska.debian.org
Tue Aug 8 16:22:32 UTC 2017


This is an automated email from the git hooks/post-receive script.

afif pushed a commit to branch master
in repository bamtools.

commit 13f616d97743bef73290f1b78fb32c1383e829e7
Author: Afif Elghraoui <afif at debian.org>
Date:   Tue Aug 8 11:31:06 2017 -0400

    debian/tests: s/ADTTMP/AUTOPKGTEST_TMP/g
    
    autopkgtest has started using AUTOPKGTEST_TMP. I'm not sure
    if/how-long ADTTMP will be supported.
---
 debian/tests/run-unit-test | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/debian/tests/run-unit-test b/debian/tests/run-unit-test
index e2fd2b4..e1c2469 100644
--- a/debian/tests/run-unit-test
+++ b/debian/tests/run-unit-test
@@ -2,12 +2,12 @@
 
 pkg=bamtools
 
-if [ "$ADTTMP" = "" ] ; then
-  ADTTMP=$(mktemp -d /tmp/${pkg}-test.XXXXXX)
-  trap "rm -rf $ADTTMP" 0 INT QUIT ABRT PIPE TERM
+if [ "$AUTOPKGTEST_TMP" = "" ] ; then
+  AUTOPKGTEST_TMP=$(mktemp -d /tmp/${pkg}-test.XXXXXX)
+  trap "rm -rf $AUTOPKGTEST_TMP" 0 INT QUIT ABRT PIPE TERM
 fi
 
-cd $ADTTMP
+cd $AUTOPKGTEST_TMP
 
 cp -a /usr/share/doc/${pkg}/sam_spec_example.bam .
 cp -a /usr/share/doc/${pkg}/filter_script .

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/bamtools.git



More information about the debian-med-commit mailing list