diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/t/check_disk.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/t/check_disk.t b/plugins/t/check_disk.t index dd13ce5..2c0802c 100644 --- a/plugins/t/check_disk.t +++ b/plugins/t/check_disk.t | |||
@@ -198,7 +198,7 @@ $all_disks = $result->output; | |||
198 | $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" ); | 198 | $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" ); |
199 | isnt( $result->output, $all_disks, "-e gives different output"); | 199 | isnt( $result->output, $all_disks, "-e gives different output"); |
200 | like( $result->output, qr/$less_inode_free/, "Found problem $less_inode_free"); | 200 | like( $result->output, qr/$less_inode_free/, "Found problem $less_inode_free"); |
201 | unlike( $result->only_output, qr/$more_inode_free/, "Has ignored $more_inode_free as not a problem"); | 201 | unlike( $result->only_output, qr/$more_inode_free\s/, "Has ignored $more_inode_free as not a problem"); |
202 | like( $result->perf_output, qr/$more_inode_free/, "But $more_inode_free is still in perf data"); | 202 | like( $result->perf_output, qr/$more_inode_free/, "But $more_inode_free is still in perf data"); |
203 | 203 | ||
204 | $result = NPTest->testCmd( "./check_disk -W $avg_inode_free% -K 0% -p $more_inode_free" ); | 204 | $result = NPTest->testCmd( "./check_disk -W $avg_inode_free% -K 0% -p $more_inode_free" ); |