forked from bestpractical/rt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid a race condition in crypt testing
Test::Warn fails us here because it only captures the first line of a multi-line warning. Opening up the debug log and searching over it leads to race conditions, as the error we're looking for may not have been flushed to disk by the time we read it. Instead, use a simple __WARN__ handler to look for the desired warning.
- Loading branch information
Showing
1 changed file
with
20 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters