[Nagiosplug-devel] [ nagiosplug-Patches-738610 ] patch for check_disk.t against rel1_3
SourceForge.net
noreply at sourceforge.net
Wed Nov 24 21:12:13 CET 2004
Patches item #738610, was opened at 2003-05-15 19:37
Message generated for change (Comment added) made by mattkent
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=738610&group_id=29880
Category: Bugfix
Group: None
>Status: Closed
Resolution: None
Priority: 5
Submitted By: Mathew Ericson (mericson23)
Assigned to: Matthew Kent (mattkent)
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);
----------------------------------------------------------------------
>Comment By: Matthew Kent (mattkent)
Date: 2004-11-24 21:11
Message:
Logged In: YES
user_id=983566
Getting test harness up to date against current code. Thanks
for the reminder.
----------------------------------------------------------------------
Comment By: Matthew Kent (mattkent)
Date: 2004-11-22 19:16
Message:
Logged In: YES
user_id=983566
Inquiring to the status of the test harness.
----------------------------------------------------------------------
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