[med-svn] [bedtools] 02/08: Do not try to `cd $HOME`
Andreas Tille
tille at debian.org
Sat Jan 14 17:51:08 UTC 2017
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository bedtools.
commit fdc274776f3084f98935bc54079e59381c2d379f
Author: Andreas Tille <tille at debian.org>
Date: Sat Jan 14 16:35:40 2017 +0100
Do not try to `cd $HOME`
---
debian/tests/upstream | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/debian/tests/upstream b/debian/tests/upstream
index 2ccba84..fc4a74b 100755
--- a/debian/tests/upstream
+++ b/debian/tests/upstream
@@ -2,6 +2,7 @@
if [ "$ADTTMP" = "" ] ; then
ADTTMP=`mktemp -d /tmp/bedtools-test.XXXXXX`
+ trap "rm -rf $ADTTMP" 0 INT QUIT ABRT PIPE TERM
fi
# Copy test suite there
@@ -19,8 +20,4 @@ DATA=/usr/share/bedtools/data BT=/usr/bin/bedtools sh test.sh | tee test.sh.outp
TESTFAILED=0
grep -q fail test.sh.output && TESTFAILED=1
-# Clean
-cd
-# rm -rf $ADTTMP/test
-
exit $TESTFAILED
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/bedtools.git
More information about the debian-med-commit
mailing list