From cff53455ffc4d4df7214f8d671b3dca7ca26f51d Mon Sep 17 00:00:00 2001 From: Ton Voon Date: Mon, 2 Oct 2006 12:09:18 +0000 Subject: 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; -- cgit v0.10-9-g596f