[med-svn] [circos] 06/07: Remove test files once test script finished

Andreas Tille tille at debian.org
Sat Jan 21 16:25:45 UTC 2017


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

tille pushed a commit to branch master
in repository circos.

commit 327566ced16863b5c4b7e1055c1faf730e8ee2e4
Author: Andreas Tille <tille at debian.org>
Date:   Sat Jan 21 15:39:42 2017 +0100

    Remove test files once test script finished
---
 debian/tests/run-unit-test | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/tests/run-unit-test b/debian/tests/run-unit-test
index 1da3696..ea906ed 100644
--- a/debian/tests/run-unit-test
+++ b/debian/tests/run-unit-test
@@ -3,6 +3,7 @@
 pkg=circos
 if [ "$ADTTMP" = "" ] ; then
   ADTTMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
+  trap "rm -rf $ADTTMP" 0 INT QUIT ABRT PIPE TERM
 fi
 cd $ADTTMP
 cp -a /usr/share/doc/$pkg/examples/* $ADTTMP

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



More information about the debian-med-commit mailing list