From: Ton Voon Date: Mon, 2 Oct 2006 12:09:18 +0000 (+0000) Subject: Fix test failure on poseidon X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=cff53455ffc4d4df7214f8d671b3dca7ca26f51d;p=nagiosplug.git Fix test failure on poseidon git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1487 f882894a-f735-0410-b71e-b25c423dba1c --- diff --git a/plugins/t/check_load.t b/plugins/t/check_load.t index 749dcc1..0804ac6 100644 --- a/plugins/t/check_load.t +++ b/plugins/t/check_load.t @@ -11,8 +11,8 @@ use NPTest; my $res; -my $successOutput = '/^OK - load average: [0-9]\.?[0-9]+, [0-9]\.?[0-9]+, [0-9]\.?[0-9]+/'; -my $failureOutput = '/^CRITICAL - load average: [0-9]\.?[0-9]+, [0-9]\.?[0-9]+, [0-9]\.?[0-9]+/'; +my $successOutput = '/^OK - load average: [0-9]+\.?[0-9]+, [0-9]+\.?[0-9]+, [0-9]+\.?[0-9]+/'; +my $failureOutput = '/^CRITICAL - load average: [0-9]+\.?[0-9]+, [0-9]+\.?[0-9]+, [0-9]+\.?[0-9]+/'; plan tests => 4;