Skip Menu |

This queue is for tickets about the Linux-Prctl CPAN distribution.

Report information
The Basics
Id: 79909
Status: open
Priority: 0/
Queue: Linux-Prctl

People
Owner: Nobody in particular
Requestors: jquelin [...] cpan.org
Cc:
AdminCc:

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



Subject: t/capabilities failure
$ make -j2 test PERL_DL_NONLAZY=1 /usr/bin/perl5.16.1 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/01-use.t ........ ok t/02-constants.t .. ok cap_get_flag failed: Argument invalide at /home/jquelin/rpm/cauldron/perl-Linux-Prctl/BUILD/Linux-Prctl-1.5.0/blib/lib/Linux/Prctl/CapabilitySet.pm line 35. # Looks like you planned 291 tests but ran 283. # Looks like your test exited with 22 just after 283. t/capabilities.t .. Dubious, test returned 22 (wstat 5632, 0x1600) Failed 8/291 subtests t/capbset.t ....... ok t/dumpable.t ...... ok t/endian.t ........ ok t/fpemu.t ......... ok t/fpexc.t ......... ok t/mce_kill.t ...... ok t/name.t .......... ok t/pdeathsig.t ..... ok t/ptracer.t ....... ok t/secbits.t ....... ok t/seccomp.t ....... ok t/timerslack.t .... ok t/timing.t ........ ok t/tsc.t ........... ok t/unalign.t ....... ok Test Summary Report ------------------- t/capabilities.t (Wstat: 5632 Tests: 283 Failed: 0) Non-zero exit status: 22 Parse errors: Bad plan. You planned 291 tests but ran 283. Files=18, Tests=502, 1 wallclock secs ( 0.13 usr 0.03 sys + 0.74 cusr 0.10 csys = 1.00 CPU) Result: FAIL Failed 1/18 test programs. 0/502 subtests failed. make: *** [test_dynamic] Erreur 255
On 2012-09-28 09:11:12, JQUELIN wrote: Show quoted text
> $ make -j2 test > PERL_DL_NONLAZY=1 /usr/bin/perl5.16.1 "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > t/01-use.t ........ ok > t/02-constants.t .. ok > cap_get_flag failed: Argument invalide at > /home/jquelin/rpm/cauldron/perl-Linux-Prctl/BUILD/Linux-Prctl- > 1.5.0/blib/lib/Linux/Prctl/CapabilitySet.pm > line 35. > # Looks like you planned 291 tests but ran 283. > # Looks like your test exited with 22 just after 283. > t/capabilities.t .. > Dubious, test returned 22 (wstat 5632, 0x1600) > Failed 8/291 subtests > t/capbset.t ....... ok > t/dumpable.t ...... ok > t/endian.t ........ ok > t/fpemu.t ......... ok > t/fpexc.t ......... ok > t/mce_kill.t ...... ok > t/name.t .......... ok > t/pdeathsig.t ..... ok > t/ptracer.t ....... ok > t/secbits.t ....... ok > t/seccomp.t ....... ok > t/timerslack.t .... ok > t/timing.t ........ ok > t/tsc.t ........... ok > t/unalign.t ....... ok > > Test Summary Report > ------------------- > t/capabilities.t (Wstat: 5632 Tests: 283 Failed: 0) > Non-zero exit status: 22 > Parse errors: Bad plan. You planned 291 tests but ran 283. > Files=18, Tests=502, 1 wallclock secs ( 0.13 usr 0.03 sys + 0.74 > cusr > 0.10 csys = 1.00 CPU) > Result: FAIL > Failed 1/18 test programs. 0/502 subtests failed. > make: *** [test_dynamic] Erreur 255
Test is probably failing because of a French locale. I see a similar failure if a German locale is set.
Subject: Re: [rt.cpan.org #79909] t/capabilities failure
Date: Fri, 29 Aug 2014 23:28:01 +0200
To: bug-Linux-Prctl [...] rt.cpan.org
From: Dennis Kaarsemaker <dennis [...] kaarsemaker.net>
On vr, 2014-08-29 at 17:15 -0400, Slaven_Rezic via RT wrote: Show quoted text
> Queue: Linux-Prctl > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=79909 > > > On 2012-09-28 09:11:12, JQUELIN wrote:
> > $ make -j2 test > > PERL_DL_NONLAZY=1 /usr/bin/perl5.16.1 "-MExtUtils::Command::MM" "-e" > > "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > > t/01-use.t ........ ok > > t/02-constants.t .. ok > > cap_get_flag failed: Argument invalide at > > /home/jquelin/rpm/cauldron/perl-Linux-Prctl/BUILD/Linux-Prctl- > > 1.5.0/blib/lib/Linux/Prctl/CapabilitySet.pm > > line 35. > > # Looks like you planned 291 tests but ran 283. > > # Looks like your test exited with 22 just after 283. > > t/capabilities.t .. > > Dubious, test returned 22 (wstat 5632, 0x1600) > > Failed 8/291 subtests > > t/capbset.t ....... ok > > t/dumpable.t ...... ok > > t/endian.t ........ ok > > t/fpemu.t ......... ok > > t/fpexc.t ......... ok > > t/mce_kill.t ...... ok > > t/name.t .......... ok > > t/pdeathsig.t ..... ok > > t/ptracer.t ....... ok > > t/secbits.t ....... ok > > t/seccomp.t ....... ok > > t/timerslack.t .... ok > > t/timing.t ........ ok > > t/tsc.t ........... ok > > t/unalign.t ....... ok > > > > Test Summary Report > > ------------------- > > t/capabilities.t (Wstat: 5632 Tests: 283 Failed: 0) > > Non-zero exit status: 22 > > Parse errors: Bad plan. You planned 291 tests but ran 283. > > Files=18, Tests=502, 1 wallclock secs ( 0.13 usr 0.03 sys + 0.74 > > cusr > > 0.10 csys = 1.00 CPU) > > Result: FAIL > > Failed 1/18 test programs. 0/502 subtests failed. > > make: *** [test_dynamic] Erreur 255
> > Test is probably failing because of a French locale. I see a similar failure if a German locale is set.
Hmm, with a dutch locale it's not failing. Can you try git commit 0df6bf4 ? https://github.com/seveas/Linux-Prctl/commit/0df6bf4 -- Dennis Kaarsemaker www.kaarsemaker.net