On Sun, Nov 13, 2022 at 06:50:02PM +0000, Klemens Nanni wrote: > $ cd `make show=WRKSRC` > $ perl -I blib/lib -I blib/arch t/01header.t > Cannot open test.pmat for writing - Permission denied at t/01header.t > line 13.
Does this patch help? OpenBSD pobj permissions may not allow creating temp file in curdir. Index: t/01header.t --- t/01header.t.orig +++ t/01header.t @@ -6,9 +6,11 @@ use warnings; use Test::More; use Config; +use File::Temp 'tempfile'; use Devel::MAT::Dumper; -my $DUMPFILE = "test.pmat"; +my ($DUMPFH, $DUMPFILE) = tempfile("testXXXXXXXXXX", + SUFFIX => ".pmat", TMPDIR => 1); Devel::MAT::Dumper::dump( $DUMPFILE ); END { unlink $DUMPFILE; }
p5-Devel-MAT-Dumper.tgz
Description: application/tar-gz