summaryrefslogtreecommitdiffstats
path: root/plugins/t/check_disk.t
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/t/check_disk.t')
-rw-r--r--plugins/t/check_disk.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/t/check_disk.t b/plugins/t/check_disk.t
index 5c6aa39..4f5c4bc 100644
--- a/plugins/t/check_disk.t
+++ b/plugins/t/check_disk.t
@@ -275,7 +275,7 @@ TODO: {
275 275
276$result = NPTest->testCmd( "./check_disk -w 0% -c 0% -p /bob" ); 276$result = NPTest->testCmd( "./check_disk -w 0% -c 0% -p /bob" );
277cmp_ok( $result->return_code, '==', 2, "Checking /bob - return error because /bob does not exist" ); 277cmp_ok( $result->return_code, '==', 2, "Checking /bob - return error because /bob does not exist" );
278cmp_ok( $result->output, 'eq', 'DISK CRITICAL - /bob does not exist', 'Output OK'); 278like( $result->output, '/^DISK CRITICAL - /bob is not accessible:.*$/', 'Output OK');
279 279
280$result = NPTest->testCmd( "./check_disk -w 0% -c 0% -p /" ); 280$result = NPTest->testCmd( "./check_disk -w 0% -c 0% -p /" );
281my $root_output = $result->output; 281my $root_output = $result->output;