[med-svn] [Git][med-team/beagle][master] Replace ADTTMP with AUTOPKGTEST_TMP

Dylan Aïssi gitlab at salsa.debian.org
Wed Nov 20 07:13:24 GMT 2019



Dylan Aïssi pushed to branch master at Debian Med / beagle


Commits:
ed1abfd5 by Dylan Aïssi at 2019-11-20T07:13:11Z
Replace ADTTMP with AUTOPKGTEST_TMP

- - - - -


2 changed files:

- debian/changelog
- debian/tests/run-sample-analysis


Changes:

=====================================
debian/changelog
=====================================
@@ -1,6 +1,7 @@
 beagle (5.1-191108+dfsg-1) UNRELEASED; urgency=medium
 
   * New upstream release.
+  * Replace ADTTMP with AUTOPKGTEST_TMP.
 
  -- Dylan Aïssi <daissi at debian.org>  Wed, 20 Nov 2019 08:00:44 +0100
 


=====================================
debian/tests/run-sample-analysis
=====================================
@@ -2,14 +2,13 @@
 # http://dep.debian.net/deps/dep8/
 # Autopkgtest: Test if beagle run analysis correctly
 # Author: Dylan Aïssi <daissi at debian.org>
-# Last-Update: 2019-09-19
 
 pkg=beagle
-if [ "$ADTTMP" = "" ] ; then
-  ADTTMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
+if [ "$AUTOPKGTEST_TMP" = "" ] ; then
+  AUTOPKGTEST_TMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
 fi
-cd $ADTTMP
-cp -a /usr/share/doc/${pkg}/examples/* $ADTTMP
+cd $AUTOPKGTEST_TMP
+cp -a /usr/share/doc/${pkg}/examples/* $AUTOPKGTEST_TMP
 
 # Generate necessary files
 gzip test.vcf
@@ -26,4 +25,4 @@ beagle ref=ref.vcf.gz gt=target.vcf.gz out=out.ref
 # Beagle with bref3 file
 beagle ref=ref.bref3 gt=target.vcf.gz out=out.bref3
 
-rm -f $ADTTMP/*
+rm -f $AUTOPKGTEST_TMP/*



View it on GitLab: https://salsa.debian.org/med-team/beagle/commit/ed1abfd5f2b8d249876ef923346d48718f78d48f

-- 
View it on GitLab: https://salsa.debian.org/med-team/beagle/commit/ed1abfd5f2b8d249876ef923346d48718f78d48f
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20191120/6cb24747/attachment-0001.html>


More information about the debian-med-commit mailing list