[med-svn] [ffindex] 01/02: Fix autopktest

Andreas Tille tille at debian.org
Sun Jan 15 10:00:45 UTC 2017


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

tille pushed a commit to branch master
in repository ffindex.

commit c7de8a739615e7ebed6c7395f0cc6d8947f5a5f8
Author: Andreas Tille <tille at debian.org>
Date:   Sun Jan 15 10:36:57 2017 +0100

    Fix autopktest
---
 debian/changelog           | 6 ++++++
 debian/tests/control       | 2 +-
 debian/tests/run-unit-test | 2 ++
 3 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 6b0f469..ee38585 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+ffindex (0.9.9.7-3) UNRELEASED; urgency=medium
+
+  * Fix autopkgtest
+
+ -- Andreas Tille <tille at debian.org>  Sun, 15 Jan 2017 10:36:34 +0100
+
 ffindex (0.9.9.7-2) unstable; urgency=medium
 
   * Team upload.
diff --git a/debian/tests/control b/debian/tests/control
index b8a7cf3..d2aa55a 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,3 +1,3 @@
 Tests: run-unit-test
 Depends: @
-Restrictions:
+Restrictions: allow-stderr
diff --git a/debian/tests/run-unit-test b/debian/tests/run-unit-test
index 5837f2d..39b6e7f 100644
--- a/debian/tests/run-unit-test
+++ b/debian/tests/run-unit-test
@@ -5,6 +5,7 @@ pkg="ffindex"
 
 if [ "$AUTOPKGTEST_TMP" = "" ] ; then
   AUTOPKGTEST_TMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
+  trap "rm -rf $ADTTMP" 0 INT QUIT ABRT PIPE TERM
 fi
 
 cp -a /usr/share/doc/${pkg}/examples/* $AUTOPKGTEST_TMP
@@ -14,6 +15,7 @@ cd $AUTOPKGTEST_TMP
 FFINDEX_MAX_INDEX_ENTRIES=20000 
 
 rm -f ./test.data ./test.ffindex
+set -x
 ffindex_build  ./test.data ./test.ffindex ./data ./data2
 ffindex_get  ./test.data ./test.ffindex a b foo | tee ./test.out
 ffindex_modify -u ./test.ffindex b

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



More information about the debian-med-commit mailing list