In perl 5.6.1 running the unit test cases with
TWikiSuite seems to require better separation between the individual test cases than what we know from Perl 5.8.
When StoreSmokeTest runs - in the verify_releaselocksonsave $/ is unset to make the test read an entire file.
Same in several other unit test cases. And one test case calls bulk registration which uses
DelimitedFile.pm and this makes a different test case fail later.
This input record separator remains in effect in later testcases in Perl 5.6.1 resulting in mysterious errors and creation of garbage directories.
You must always declare $/ locally when unsetting it
local $/ = undef;
The issue in
DelimitedFile.pm could potentially also cause errors in Perl 5.8 with mod_perl or similar.
--
TWiki:Main/KennethLavrsen - 20 Feb 2007
Fixed. Waiting for release as it also involves a code fix so I want this in release note.
--
TWiki:Main/KennethLavrsen - 21 Feb 2007
Closed with release of 4.1.2
KJL