[Pkg-ocaml-maint-commits] [bibtex2html] 01/06: tests: compare files with -a
Ralf Treinen
treinen at moszumanska.debian.org
Fri Apr 15 19:45:46 UTC 2016
This is an automated email from the git hooks/post-receive script.
treinen pushed a commit to branch master
in repository bibtex2html.
commit 71ad006c0f35ccb3b935fe4be20f2a71a5978aff
Author: Ralf Treinen <treinen at free.fr>
Date: Fri Apr 15 19:02:45 2016 +0200
tests: compare files with -a
---
debian/changelog | 6 ++++++
debian/tests/bib2bib | 2 +-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index d0f3855..10b9aea 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+bibtex2html (1.98-4) unstable; urgency=medium
+
+ * test bib2bib: compare files with "-a" to force comparison as text
+
+ -- Ralf Treinen <treinen at debian.org> Fri, 15 Apr 2016 19:02:35 +0200
+
bibtex2html (1.98-3) unstable; urgency=medium
[ Rémi Vanicat ]
diff --git a/debian/tests/bib2bib b/debian/tests/bib2bib
index 9162a53..6a7f0fd 100755
--- a/debian/tests/bib2bib
+++ b/debian/tests/bib2bib
@@ -8,6 +8,6 @@ outfile=${outdir}/test.out.bib
# bib2bib without filter argument should be the identity up to cosmetic
# changes, but we have to remove comments issued by bib2bib
-bib2bib --quiet -oc /dev/null ${infile} | grep -v "@comment" > ${outfile}
+bib2bib --quiet -oc /dev/null ${infile} | grep -va "@comment" > ${outfile}
# check that the number of bibtex stanzas is the same
[ `egrep -c "@[a-zA-Z]+" ${infile}` -eq `egrep -c "@[a-zA-Z]+" ${outfile}` ]
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ocaml-maint/packages/bibtex2html.git
More information about the Pkg-ocaml-maint-commits
mailing list