Bug#730925: libgeo-ip-perl: FTBFS: Failed tests
gregor herrmann
gregoa at debian.org
Sat Nov 30 20:08:05 UTC 2013
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20131130/4beeda79/attachment.sig>
More information about the pkg-perl-maintainers
mailing list