From f82e0dfa81f134c5e064730fac7690a7aa435f59 Mon Sep 17 00:00:00 2001 From: Ton Voon Date: Thu, 23 Mar 2006 16:06:00 +0000 Subject: 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 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 $result = NPTest->testCmd( "./check_disk -w 0% -c 0% -p / -p /bob" ); cmp_ok( $result->return_code, '==', 2, "Checking / and /bob gives critical"); -unlike( $result->perf_output, 'm#/bob#', "perf data does not have /bob in it"); +unlike( $result->perf_output, '/\/bob/', "perf data does not have /bob in it"); -- cgit v0.10-9-g596f