[Nagiosplug-checkins] nagiosplug/plugins/t check_disk.t,1.18,1.19

Ton Voon tonvoon at users.sourceforge.net
Tue Mar 6 18:26:45 CET 2007


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

Modified Files:
	check_disk.t 
Log Message:
Test failure if a filesystem which is a subset of another fails the inode
check (Matthias Elbe - 1660953)


Index: check_disk.t
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/t/check_disk.t,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- check_disk.t	29 Jan 2007 14:14:05 -0000	1.18
+++ check_disk.t	6 Mar 2007 17:26:43 -0000	1.19
@@ -198,7 +198,7 @@
 $result = NPTest->testCmd( "./check_disk -e -W $avg_inode_free% -K 0% -p $less_inode_free -W $avg_inode_free% -K $avg_inode_free% -p $more_inode_free" );
 isnt( $result->output, $all_disks, "-e gives different output");
 like( $result->output, qr/$less_inode_free/, "Found problem $less_inode_free");
-unlike( $result->only_output, qr/$more_inode_free/, "Has ignored $more_inode_free as not a problem");
+unlike( $result->only_output, qr/$more_inode_free\s/, "Has ignored $more_inode_free as not a problem");
 like( $result->perf_output, qr/$more_inode_free/, "But $more_inode_free is still in perf data");
 
 $result = NPTest->testCmd( "./check_disk -W $avg_inode_free% -K 0% -p $more_inode_free" );





More information about the Commits mailing list