Commit ed1abfd5 authored by Dylan Aïssi's avatar Dylan Aïssi
Browse files

Replace ADTTMP with AUTOPKGTEST_TMP

parent 70db7119
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
beagle (5.1-191108+dfsg-1) UNRELEASED; urgency=medium

  * New upstream release.
  * Replace ADTTMP with AUTOPKGTEST_TMP.

 -- Dylan Aïssi <daissi@debian.org>  Wed, 20 Nov 2019 08:00:44 +0100

+5 −6
Original line number Diff line number Diff line
@@ -2,14 +2,13 @@
# http://dep.debian.net/deps/dep8/
# Autopkgtest: Test if beagle run analysis correctly
# Author: Dylan Aïssi <daissi@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/*