[med-svn] [biosquid] 03/04: Cleanup after testing

Andreas Tille tille at debian.org
Wed Apr 5 10:57:05 UTC 2017


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

tille pushed a commit to branch master
in repository biosquid.

commit 60c8d0bad089e96c78b0a9a00c45e8fb3a131fc9
Author: Andreas Tille <tille at debian.org>
Date:   Wed Apr 5 11:28:03 2017 +0200

    Cleanup after testing
---
 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 c8fb9b9..353e4b1 100644
--- a/debian/tests/run-unit-test
+++ b/debian/tests/run-unit-test
@@ -13,6 +13,7 @@ TOOLS="afetch
 
 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/libsquid-dev/examples/* $ADTTMP

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



More information about the debian-med-commit mailing list