diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2006-03-23 16:06:00 +0000 |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2006-03-23 16:06:00 +0000 |
commit | f82e0dfa81f134c5e064730fac7690a7aa435f59 (patch) | |
tree | 68932b9eb998c1575190b23e7244d15addb52f26 /plugins/t | |
parent | 61cd9f525aa236250b6768e6db2977c836c57d96 (diff) | |
download | monitoring-plugins-f82e0dfa81f134c5e064730fac7690a7aa435f59.tar.gz |
Some versions of Test::More do not like the m#foo# syntax
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1350 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/t')
-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 90ccc26a..e742b5bc 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" ); |
174 | cmp_ok( $result->return_code, '==', 2, "Checking / and /bob gives critical"); | 174 | cmp_ok( $result->return_code, '==', 2, "Checking / and /bob gives critical"); |
175 | unlike( $result->perf_output, 'm#/bob#', "perf data does not have /bob in it"); | 175 | unlike( $result->perf_output, '/\/bob/', "perf data does not have /bob in it"); |