Subject: | t/30shell acting on deleted files? |
Hi, While installing the new CPAN, I was getting unexpected messages
during tests.
Here is the output from prove -lvm t/30shell.t 2>&1:
t/30shell....
1..239
ok 1 - histsize is 100 before testing
...
ok 239 - histsize is 100 after testing
cannot unlink file for t/dot-cpan/prefs/.nfs0000000000032e4d00016e25:
Device or resource busy at t/local_utils.pm line 33
cannot restore permissions to 0100640 for t/dot-
cpan/prefs/.nfs0000000000032e4d00016e25: Device or resource busy at
t/local_utils.pm line 33
cannot remove directory for t/dot-cpan/prefs: Directory not empty at
t/local_utils.pm line 33
cannot remove directory for t/dot-cpan: Directory not empty at
t/local_utils.pm line 33
ok
All tests successful.
Files=1, Tests=239, 61 wallclock secs ( 0.34 usr 0.02 sys + 12.55
cusr 3.93 csys = 16.84 CPU)
Result: PASS
We run our disk on a netapp appliance. This means the directories are
remote nfs mounted. .nfs files are created when a file that is held
open by some other process is deleted. My guess is that you have some
sequence in your tests where you're not closing a file handle and then
attempting to delete a directory and/or all the files. Please let me
know if you have any questions.
Todd