On Sat, 30 Nov 2013 17:32:36 +0100, David Suárez wrote:

> > # Test 1 got: "1.6.0" (t/20_min_capi_version.t at line 21)
> > #   Expected: "(?^:^1\\.5\\.)" (This module only supports 1.5.x releases of 
> > the libGeoIP C API.)
> > #  t/20_min_capi_version.t line 21 is:   ok( $capi_version, qr/^1\.5\./, 
> > "This module only supports 1.5.x releases of the libGeoIP C API." );
> > t/20_min_capi_version.t .. 
> > Failed 1/1 subtests 

The test itself can of course be fixed with something like

#v+
--- a/t/20_min_capi_version.t
+++ b/t/20_min_capi_version.t
@@ -18,6 +18,6 @@
   # ugh, we use the pure perl API
   ok( 1, 1, "Pure perl API - skip" );
 } else {
-  ok( $capi_version, qr/^1\.5\./, "This module only supports 1.5.x releases of 
the libGeoIP C API." );
+  ok( $capi_version, qr/^1\.[56]\./, "This module only supports 1.[56].x 
releases of the libGeoIP C API." );
 }
 
#v-

but that might be too easy ...
I've forwarded the bug report uptream.


Cheers,
gregor

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Cássia Eller: Non, Je Ne Regrette Rien

Attachment: signature.asc
Description: Digital signature

Reply via email to