[med-svn] [ffindex] 02/08: Fix autopkgtest: Sort the ffindex before querying or unlinking
Graham Inggs
ginggs at moszumanska.debian.org
Thu Jun 29 14:51:27 UTC 2017
This is an automated email from the git hooks/post-receive script.
ginggs pushed a commit to branch master
in repository ffindex.
commit 2f67e60f0a882679ff44294eca6589b93e9cdcfe
Author: Graham Inggs <ginggs at debian.org>
Date: Thu Jun 29 14:19:30 2017 +0200
Fix autopkgtest: Sort the ffindex before querying or unlinking
---
debian/changelog | 4 +++-
debian/tests/run-unit-test | 4 ++--
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index acc97ed..bd1bff1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,9 @@
ffindex (0.9.9.7-4) UNRELEASED; urgency=medium
* Team upload
- * Fix autopkgtest: Really limit the amount of RAM needed
+ * Fix autopkgtest: (Closes: #851658)
+ - Really limit the amount of RAM needed
+ - Sort the ffindex before querying or unlinking
-- Graham Inggs <ginggs at debian.org> Thu, 29 Jun 2017 14:11:49 +0200
diff --git a/debian/tests/run-unit-test b/debian/tests/run-unit-test
index d36929c..2d7db70 100644
--- a/debian/tests/run-unit-test
+++ b/debian/tests/run-unit-test
@@ -16,12 +16,12 @@ export FFINDEX_MAX_INDEX_ENTRIES=20000
rm -f ./test.data ./test.ffindex
set -x
-ffindex_build ./test.data ./test.ffindex ./data ./data2
+ffindex_build -s ./test.data ./test.ffindex ./data ./data2
ffindex_get ./test.data ./test.ffindex a b foo | tee ./test.out
ffindex_modify -u ./test.ffindex b
ffindex_get ./test.data ./test.ffindex a b foo | tee ./test-unlink.out
rm -f ./test.data ./test.ffindex
-ffindex_build ./test.data ./test.ffindex ./testfile
+ffindex_build -a -s ./test.data ./test.ffindex ./testfile
echo ======== compare results =========
--
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