Skip Menu |
 

This queue is for tickets about the Config-Auto CPAN distribution.

Report information
The Basics
Id: 74743
Status: resolved
Worked: 30 min
Priority: 0/
Queue: Config-Auto

People
Owner: BINGOS [...] cpan.org
Requestors: CARNIL [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: t/06_const_it.t depends on "valid" /etc/fstab
Date: Tue, 7 Feb 2012 14:31:59 +0100
To: bug-Config-Auto [...] rt.cpan.org
From: Salvatore Bonaccorso <carnil [...] cpan.org>
Download (untitled) / with headers
text/plain 2.4k
Hi Thanks for the 0.40 update. During packaging 0.40 for Debian I got first build failure in the chroot environments: Show quoted text
> dh_auto_test > make[1]: Entering directory `/build/salvi-libconfig-auto-perl_0.40-1-amd64-Gzz3ph/libconfig-auto-perl-0.40' > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > # Testing Config::Auto 0.40 > t/00_load.t ............ ok > t/01_OO.t .............. ok > t/02_parse.t ........... ok > t/03_invalid.t ......... ok > t/04_magic.t ........... ok > t/05_rt69984.t ......... ok > > # Failed test 'Config::Auto:parse() where $_ aliases a string literal.' > # at t/06_const_it.t line 16. > # Unparsable file format! at t/06_const_it.t line 15 > # Looks like you failed 1 test of 1. > t/06_const_it.t ........ > Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/1 subtests > t/20_XML_unvailable.t .. ok > t/99_pod.t ............. ok > > Test Summary Report > ------------------- > t/06_const_it.t (Wstat: 256 Tests: 1 Failed: 1) > Failed test: 1 > Non-zero exit status: 1 > Files=9, Tests=376, 1 wallclock secs ( 0.06 usr 0.03 sys + 0.48 cusr 0.06 csys = 0.63 CPU) > Result: FAIL > Failed 1/9 test programs. 1/376 subtests failed.
The reason for this build failure is that /etc/fstab in the 'clean' build environments usually used in Debian to build packages (pbuilder, cowbuilder, sbuild or then on the buildd daemons) /etc/fstab is only like: ---(/etc/fstab)--------------------------------------------------------- # UNCONFIGURED FSTAB FOR BASE SYSTEM ------------------------------------------------------------------------ and the build fails. This is clearly more a 'whishlist' bugreport to Config-Auto. Would it be possible to either ship a static 'test' file in the package itself and run the test against it, or generate one valid in a safe tmporary directory? Thanks for your work! Regards, Salvatore
Download signature.asc
application/pgp-signature 836b

Message body not shown because it is not plain text.

This was resolved with version 0.42 Many thanks.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.