[med-svn] [concavity] 04/05: I'd like to prefix temporary test dir by package name which helps sometimes to spot the tempdir if needed

Andreas Tille tille at debian.org
Mon Apr 18 07:15:17 UTC 2016


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

tille pushed a commit to branch master
in repository concavity.

commit b1c5874783f9859c38c9dc191edf8ac38f58a3ec
Author: Andreas Tille <tille at debian.org>
Date:   Mon Apr 18 08:56:46 2016 +0200

    I'd like to prefix temporary test dir by package name which helps sometimes to spot the tempdir if needed
---
 debian/tests/installation-test | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/debian/tests/installation-test b/debian/tests/installation-test
index b65d632..6621504 100755
--- a/debian/tests/installation-test
+++ b/debian/tests/installation-test
@@ -5,11 +5,14 @@
 
 set -e
 
-WORKDIR=$(mktemp -d)
+pkg=concavity
+
+WORKDIR=$(mktemp -d /tmp/${pkg}-test.XXXXXX)
 trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM
 
 cd $WORKDIR
-cp -R "${0%/*}/../../examples" $WORKDIR
+# cp -R "${0%/*}/../../examples" $WORKDIR
+
 
 concavity --help
 concavity -conservation examples/conservation_data/1G6C examples/1G6C.pdb test1

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



More information about the debian-med-commit mailing list