On Sun, Nov 13, 2022 at 06:28:41PM +0000, Klemens Nanni wrote:
> On Sun, Nov 13, 2022 at 07:22:13PM +0100, Alexander Bluhm wrote:
> > Hi,
> > 
> > ok to import p5-Devel-MAT-Dumper 0.46
> > 
> > Comment:
> > write a heap dump file for later analysis
> > 
> > Description:
> > This module provides the memory-dumping function that creates a heap
> > dump file which can later be read by Devel::MAT::Dumpfile. It provides
> > a single function which is not exported, which writes a file to the
> > given path.
> > 
> > bluhm
> 
> Is this expected (amd64 here)?
> 
>       $ make test
>       ===>  Regression tests for p5-Devel-MAT-Dumper-0.46
>       t/00use.t ..... ok
>       t/01header.t .. 
>       No subtests run 
>       t/99pod.t ..... ok
> 
>       Test Summary Report
>       -------------------
>       t/01header.t (Wstat: 139 Tests: 0 Failed: 0)
>         Non-zero wait status: 139
>         Parse errors: No plan found in TAP output
>       Files=3, Tests=4,  1 wallclock secs ( 0.03 usr  0.14 sys +  0.52 cusr  
> 0.32 csys =  1.01 CPU)
>       Result: FAIL
>       Failed 1/3 test programs. 0/4 subtests failed.

For me it works.

===>  Regression tests for p5-Devel-MAT-Dumper-0.46
t/00use.t ..... ok
t/01header.t .. ok
t/99pod.t ..... ok
All tests successful.
Files=3, Tests=11,  1 wallclock secs ( 0.03 usr  0.06 sys +  0.43 cusr  0.13 
csys =  0.65 CPU)
Result: PASS

I run with PORTS_PRIVSEP = yes.  To debug, I run the test manually,
then I see this error.  Maybe you hit that.  I will try to work
around this with a patch.

.../Devel-MAT-Dumper-0.46$ perl -I blib/lib -I blib/arch t/01header.t
Cannot open test.pmat for writing - Permission denied at t/01header.t line 13.

bluhm

Reply via email to