summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1843480)
raw | patch | inline | side by side (parent: 1843480)
author | Ton Voon <tonvoon@users.sourceforge.net> | |
Tue, 6 Mar 2007 17:26:43 +0000 (17:26 +0000) | ||
committer | Ton Voon <tonvoon@users.sourceforge.net> | |
Tue, 6 Mar 2007 17:26:43 +0000 (17:26 +0000) |
check (Matthias Elbe - 1660953)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1628 f882894a-f735-0410-b71e-b25c423dba1c
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1628 f882894a-f735-0410-b71e-b25c423dba1c
plugins/t/check_disk.t | patch | blob | history |
diff --git a/plugins/t/check_disk.t b/plugins/t/check_disk.t
index dd13ce58c5abdd252dd6f0d31202763de9a7236f..2c0802cc36dd7bfd9ba38094403ec79c7323dfd7 100644 (file)
--- a/plugins/t/check_disk.t
+++ b/plugins/t/check_disk.t
$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" );