[med-svn] [mummer] 01/01: Due to autopkgtest 4.0 release ADT_* become AUTOPKGTEST_*

Canberk Koç cbk-guest at moszumanska.debian.org
Tue Jul 26 21:36:46 UTC 2016


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

cbk-guest pushed a commit to branch master
in repository mummer.

commit d92947452877415a860c7c8107e6cdfeed54d14e
Author: cbk-guest <cbk-guests at scm.alioth.debian.org>
Date:   Wed Jul 27 00:36:30 2016 +0300

    Due to autopkgtest 4.0 release ADT_* become AUTOPKGTEST_*
---
 debian/tests/run-unit-test | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/debian/tests/run-unit-test b/debian/tests/run-unit-test
index 602ffda..e1bb010 100644
--- a/debian/tests/run-unit-test
+++ b/debian/tests/run-unit-test
@@ -3,14 +3,14 @@ set -e
 
 pkg="mummer"
 
-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
 
-cp -a /usr/share/doc/${pkg}/examples/* $ADTTMP
+cp -a /usr/share/doc/${pkg}/examples/* $AUTOPKGTEST_TMP
 
-cd $ADTTMP
+cd $AUTOPKGTEST_TMP
 find . -name "*.gz" -exec gunzip \{\} \;
 mkdir output/ && cd output/
 
@@ -57,7 +57,7 @@ tail -n +2 ../expected/promer.coords > ../expected/promer.coords
 tail -n +2 ../expected/promer.delta > ../expected/promer.delta
 
 
-cd $ADTTMP
+cd $AUTOPKGTEST_TMP
 for i in `ls expected/|xargs` ; do
 	diff expected/$i output/$i
 done

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



More information about the debian-med-commit mailing list