poll_loop is supposed to divert the logging away so that you don't
have to see a pile of repetitive logging if the operation succeeds.
But this was broken when the code was moved from the perl module
Osstest to Osstest::TestSupport. Fix it.
Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
$logmtmpfile= IO::File::new_tmpfile or die $!;
if (!eval {
- local ($Osstest::logm_handle) = ($logmtmpfile);
+ local ($Osstest::TestSupport::logm_handle) = ($logmtmpfile);
$bad= $code->();
1;
}) {