[Xapian-tickets] [Xapian] #610: Search::Xapian 1.2.13 fails tests against perl 5.16.1

Xapian nobody at xapian.org
Tue Jan 22 21:13:59 GMT 2013


#610: Search::Xapian 1.2.13 fails tests against perl 5.16.1
----------------------------+-----------------------------------------------
 Reporter:  jbergstroem     |       Owner:  olly  
     Type:  defect          |      Status:  new   
 Priority:  normal          |   Milestone:        
Component:  Search::Xapian  |     Version:  1.2.13
 Severity:  normal          |    Keywords:        
Blockedby:                  |    Platform:  All   
 Blocking:                  |  
----------------------------+-----------------------------------------------
 Using perl 5.16.1, I get this test failure:
 {{{
 t/10query.t ........... 1/10
 #   Failed test at t/10query.t line 37.
 #                   'USAGE: Search::Xapian::Query->new('term') or
 Search::Xapian::Query->new(OP, <args>) at t/10query.t line 34.
 # '
 #     doesn't match '(?^:^USAGE: Search::Xapian::Query->new\('term'\) or
 Search::Xapian::Query->new\(OP, <args>\) at \S+/10query\.t line \d+$)'
 # Looks like you failed 1 test of 10.
 }}}

 Reduced case (taken from https://bugs.gentoo.org/show_bug.cgi?id=453450)

 {{{
 #!perl
 use Test::More;
 BEGIN { plan tests => 1 };

 use Search::Xapian qw(:standard);
 eval { Search::Xapian::Query->new("hello", 1, 2, 3, 4); };
 ok(defined $@, "Bad query ctor threw exception");
 }}}

 reduced test case by Anthony Basile, bug originally found by Diego Elio
 Pettenò.

-- 
Ticket URL: <http://trac.xapian.org/ticket/610>
Xapian <http://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list