[webkit-dev] File::Spec->tmpdir() on Leopard and Snow Leopard bots

Andras Becsi abecsi at inf.u-szeged.hu
Fri Jan 8 00:39:41 PST 2010


Hello,

   in the process of making it possible to run more than one instance of 
run-webkit-tests at the same time 
(https://bugs.webkit.org/show_bug.cgi?id=33153), I'm trying to make the 
handling of running httpd processes more platform independent.
My tries failed only on the Leopard bots. Unfortunately I have no access 
to a Leopard machine, so I had to guess, but now I have a strong 
supposition why the new script fails.
The Leopard bots (Leopard and Snow Leopard) have set something like 
this: TMPDIR=/var/folders/FF/FFsVLEwYHre8vU9Sax877k+++TI/-Tmp-/ shown in 
the bot logs 
(http://build.webkit.org/builders/SnowLeopard%20Intel%20Release%20%28Tests%29/builds/4018/steps/layout-test/logs/stdio).
My assumption is, that calling File::Spec->tmpdir() in perl returns this 
path, not /tmp as expected, that is why there is no PID file where the 
script expects it to be (httpd.conf sets it to /tmp/WebKit).
Is there any particular reason for setting a non-POSIX standard TMPDIR 
on these machines, especially because Tiger does not set this and thus 
has no problems with File::Spec->tmpdir()? Or am I wrong with my assumption?

br,
Andras
(bbandix)


More information about the webkit-dev mailing list