develooper Front page | perl.perl5.porters | Postings from August 2008

Avoid a potential testing race condition in lib/Dirhandle.ttest.

Thread Next
From:
Bram
Date:
August 10, 2008 11:36
Subject:
Avoid a potential testing race condition in lib/Dirhandle.ttest.
Message ID:
20080810203627.vj786wb688skc44w@horde.wizbit.be
Dirhandle.t does a glob and a readdir.
It then compares (some) filenames.

When testing in parallel this is a race condition.

Attached patch removes the race condition by going to 'uni'.


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About