Subject: | Cleaning up temporary directory |
Test output:
t/cmdline.........cannot remove path when cwd is /tmp/tkpod_KWFyHBOT for
/tmp/tkpod_KWFyHBOT: at /usr/local/perl-5.10/lib/5.10.0/File/Temp.pm
line 902
ok
This is caused (I think) by File::Path 2.07 not removing the directory
anymore that it is in. Downgrading to File::Path 2.04 fixes this.
A different issue seems to be the second file.
Leftovers after the test:
drwx------ 3 sand sand 4096 2008-11-30 18:31:56 tkpod_KWFyHBOT/
-rw-r--r-- 1 sand sand 14 2008-11-30 18:32:20
pods_5_010000_x86_64_linux_1001
On the smoke box I found several larger files:
# ls -l /tmp/pods_*
-rw-rw-r-- 1 sand sand 14 Nov 2 12:37
/tmp/pods_5_008007_i686_linux_thread_multi_64int_1005
-rw-rw-r-- 1 sand sand 521946 Nov 5 20:39
/tmp/pods_5_008008_i686_linux_64int_1005
-rw-rw-r-- 1 sand sand 940729 Nov 22 06:35
/tmp/pods_5_008009_i686_linux_64int_1005
-rw-rw-r-- 1 sand sand 917189 Nov 29 03:32
/tmp/pods_5_010000_i686_linux_64int_1005
-rw-rw-r-- 1 sand sand 1438515 Nov 28 10:01
/tmp/pods_5_011000_i686_linux_64int_1005
Should they also be cleaned up?