[Nagiosplug-devel] [ nagiosplug-Patches-738610 ] patch for check_disk.t against rel1_3
SourceForge.net
noreply at sourceforge.net
Thu May 15 19:38:03 CEST 2003
Patches item #738610, was opened at 2003-05-16 02:37
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=738610&group_id=29880
Category: Bugfix
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Mathew Ericson (mericson23)
Assigned to: Nobody/Anonymous (nobody)
Summary: patch for check_disk.t against rel1_3
Initial Comment:
--- check_disk.t.orig 2003-05-16 10:12:35.000000000 +1000
+++ check_disk.t 2003-05-16 10:13:04.000000000 +1000
@@ -13,19 +13,19 @@
$str = `$cmd`;
$t += ok $?>>8,0;
print "Test was: $cmd\n" if ($?);
-$t += ok $str, '/^(Disk ok - +[\.0-9]+|DISK OK - )/';
+$t += ok $str, '/^(Disk ok - +[\.0-9]+|DISK OK)/';
$cmd = "./check_disk -w 0 -c 0 /";
$str = `$cmd`;
$t += ok $?>>8,0;
print "Test was: $cmd\n" if ($?);
-$t += ok $str, '/^(Disk ok - +[\.0-9]+|DISK OK - )/';
+$t += ok $str, '/^(Disk ok - +[\.0-9]+|DISK OK)/';
$cmd = "./check_disk 0 0 /";
$str = `$cmd`;
$t += ok $?>>8,2;
print "Test was: $cmd\n" unless ($?);
-$t += ok $str, '/^(Only +[\.0-9]+|DISK CRITICAL - )/';
+$t += ok $str, '/^(Only +[\.0-9]+|DISK CRITICAL)/';
exit(0) if defined($Test::Harness::VERSION);
exit($tests - $t);
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=738610&group_id=29880
More information about the Devel
mailing list