From d62e0cbe64ec40702f792a45c252585dae147d4c Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Thu, 30 Sep 2010 14:15:53 +0100 Subject: [PATCH] When skipping a test due to a rule, note this with the proper logging mechanism, not just a warn() that goes to the server log. --- lib/ZOOM/IRSpy.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/ZOOM/IRSpy.pm b/lib/ZOOM/IRSpy.pm index de2c561..96ead57 100644 --- a/lib/ZOOM/IRSpy.pm +++ b/lib/ZOOM/IRSpy.pm @@ -533,7 +533,8 @@ sub check { $conn->option(current_test_address => $nextaddr); my $tname = $node->name(); if ($this->should_skip_test($tname)) { - warn "skipping test '$tname' due to rule"; + $conn->log("irspy_test", + "skipping test '$nextaddr' = $tname due to rule"); goto NEXT_TEST; } -- 1.7.10.4