Sun Dec 13 03:06:27 2009: Request 52407 was acted upon.
Transaction: Correspondence added by IRONCAMEL
Queue: PAR-Packer
Subject: pp creates par-<user>/ in /, not /tmp
Broken in: 1.001
Severity: Normal
Owner: RSCHUPP
Requestors: [email protected]
Status: open
Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=52407 >
On Fri Dec 11 18:40:37 2009, IRONCAMEL wrote:
> I got the same error on my local ubuntu machine and several redhat
> servers we have. I fixed it by changing one line in a file in the 't'
> directory called test-proc:
>
> $ diff test-proc.orig test-proc
> 16c16
> < print "PAR_TEMP = $ENV{PAR_TEMP}\n";
> ---
> > print "PAR_TEMP = $ENV{PAR_GLOBAL_TMPDIR}\n";
>
> Is this a good solution?
By the way, the tests fail even when I run them as root, because
t/30-current_exec.t checks to see if the tmp dir was correctly set in
the environment, which it wasn't. The above patch made the tests pass.