This is an automated email from the git hooks/post-receive script. seamlik-guest pushed a commit to branch master in repository lucene2.
commit 4c45012790412f98a63ed11ad0e99274e09dad01 Author: Jan-Pascal van Best <[email protected]> Date: Thu Feb 26 19:59:49 2009 +0000 Remove two invalid tests also removed upstream --- debian/changelog | 3 ++- debian/patches/00list | 1 + debian/patches/90_fix-invalid-tests.dpatch | 36 ++++++++++++++++++++++++++++++ 3 files changed, 39 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 5e6f225..dcd1230 100644 --- a/debian/changelog +++ b/debian/changelog @@ -5,8 +5,9 @@ lucene2 (2.4.0+ds1-3) unstable; urgency=low * Added ${misc:Depends} dependencies to fix possible debhelper dependencies. * Cleaned up package description of liblucene2-java (removed list of contrib libraries) + * Removed two invalid tests also removed upstream (Closes: #516475). - -- Jan-Pascal van Best <[email protected]> Fri, 06 Feb 2009 10:52:58 +0100 + -- Jan-Pascal van Best <[email protected]> Thu, 26 Feb 2009 20:57:33 +0100 lucene2 (2.4.0+ds1-2) unstable; urgency=low diff --git a/debian/patches/00list b/debian/patches/00list index 3605a22..5a182fb 100644 --- a/debian/patches/00list +++ b/debian/patches/00list @@ -8,3 +8,4 @@ 61_lucli-script.dpatch 70_fix-contrib-regex-libs.dpatch 80_prevent-downloading-data-files.dpatch +90_fix-invalid-tests.dpatch diff --git a/debian/patches/90_fix-invalid-tests.dpatch b/debian/patches/90_fix-invalid-tests.dpatch new file mode 100755 index 0000000..91a59b7 --- /dev/null +++ b/debian/patches/90_fix-invalid-tests.dpatch @@ -0,0 +1,36 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 90_fix-invalid-tests.dpatch by Jan-Pascal van Best <[email protected]> +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Upstream also has this patch (revision 731727), with the comment +## DP: "remove 2 invalid tests of modified utf8 null byte". See +## DP: also the discussion at +## DP: http://mail-archives.apache.org/mod_mbox/lucene-java-dev/200901.mbox/%[email protected]%3E + +@DPATCH@ +diff -urNad lucene2~/src/test/org/apache/lucene/index/TestIndexInput.java lucene2/src/test/org/apache/lucene/index/TestIndexInput.java +--- lucene2~/src/test/org/apache/lucene/index/TestIndexInput.java 2008-10-01 13:58:22.000000000 +0200 ++++ lucene2/src/test/org/apache/lucene/index/TestIndexInput.java 2009-02-26 20:54:41.000000000 +0100 +@@ -59,12 +59,6 @@ + 0x01, 0x00, + 0x08, 'L', 'u', 0x00, 'c', 'e', 0x00, 'n', 'e', + +- // Modified UTF-8 null bytes +- 0x02, (byte) 0xC0, (byte) 0x80, +- 0x0A, 'L', 'u', (byte) 0xC0, (byte) 0x80, +- 'c', 'e', (byte) 0xC0, (byte) 0x80, +- 'n', 'e', +- + }); + + assertEquals(128,is.readVInt()); +@@ -85,9 +79,6 @@ + + assertEquals("\u0000",is.readString()); + assertEquals("Lu\u0000ce\u0000ne",is.readString()); +- +- assertEquals("\u0000",is.readString()); +- assertEquals("Lu\u0000ce\u0000ne",is.readString()); + } + + /** -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/lucene2.git _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

