[Nagiosplug-checkins] nagiosplug/plugins/t check_disk.t,1.7,1.8

Ton Voon tonvoon at users.sourceforge.net
Thu Mar 23 08:07:01 CET 2006


Update of /cvsroot/nagiosplug/nagiosplug/plugins/t
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15402/t

Modified Files:
	check_disk.t 
Log Message:
Some versions of Test::More do not like the m#foo# syntax


Index: check_disk.t
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/t/check_disk.t,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- check_disk.t	23 Mar 2006 12:01:21 -0000	1.7
+++ check_disk.t	23 Mar 2006 16:06:00 -0000	1.8
@@ -172,4 +172,4 @@
 
 $result = NPTest->testCmd( "./check_disk -w 0% -c 0% -p / -p /bob" );
 cmp_ok( $result->return_code, '==', 2, "Checking / and /bob gives critical");
-unlike( $result->perf_output, 'm#/bob#', "perf data does not have /bob in it");
+unlike( $result->perf_output, '/\/bob/', "perf data does not have /bob in it");





More information about the Commits mailing list