[med-svn] [r-cran-truncnorm] 06/13: Commit uncommitted change of latest release

Andreas Tille tille at debian.org
Thu Nov 30 14:39:04 UTC 2017


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

tille pushed a commit to branch master
in repository r-cran-truncnorm.

commit c0785084644b715265d8b1239173ba51d4c0f7d8
Author: Andreas Tille <tille at debian.org>
Date:   Thu Nov 30 15:19:22 2017 +0100

    Commit uncommitted change of latest release
---
 debian/tests/run-unit-test | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/debian/tests/run-unit-test b/debian/tests/run-unit-test
index f8040f7..92689b6 100644
--- a/debian/tests/run-unit-test
+++ b/debian/tests/run-unit-test
@@ -1,13 +1,15 @@
 #!/bin/sh -e
 
-pkg=r-cran-truncnorm
+oname=truncnorm
+pkg=r-cran-`echo $oname | tr '[A-Z]' '[a-z]'`
+
 if [ "$ADTTMP" = "" ] ; then
   ADTTMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
+  trap "rm -rf $ADTTMP" 0 INT QUIT ABRT PIPE TERM
 fi
 cd $ADTTMP
 cp /usr/share/doc/${pkg}/tests/* $ADTTMP
-gunzip *
+find . -name "*.gz" -exec gunzip \{\} \;
 for runtest in `ls *.R` ; do
     R --no-save < $runtest
 done
-rm -f $ADTTMP/*

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



More information about the debian-med-commit mailing list