summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 90ccc26..e742b5b 100644
--- a/plugins/t/check_disk.t
+++ b/plugins/t/check_disk.t
@@ -172,4 +172,4 @@ cmp_ok( $result->output, 'eq', $root_output, "check_disk /etc gives same as chec
172 172
173$result = NPTest->testCmd( "./check_disk -w 0% -c 0% -p / -p /bob" ); 173$result = NPTest->testCmd( "./check_disk -w 0% -c 0% -p / -p /bob" );
174cmp_ok( $result->return_code, '==', 2, "Checking / and /bob gives critical"); 174cmp_ok( $result->return_code, '==', 2, "Checking / and /bob gives critical");
175unlike( $result->perf_output, 'm#/bob#', "perf data does not have /bob in it"); 175unlike( $result->perf_output, '/\/bob/', "perf data does not have /bob in it");