[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [OSSTEST PATCH 1/2] poll_loop: Restore diversion of logm
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@xxxxxxxxxxxxx> --- Osstest/TestSupport.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm index 1d77933..ef2a853 100644 --- a/Osstest/TestSupport.pm +++ b/Osstest/TestSupport.pm @@ -611,7 +611,7 @@ sub poll_loop ($$$&) { $logmtmpfile= IO::File::new_tmpfile or die $!; if (!eval { - local ($Osstest::logm_handle) = ($logmtmpfile); + local ($Osstest::TestSupport::logm_handle) = ($logmtmpfile); $bad= $code->(); 1; }) { -- 1.7.10.4 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |