X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=plugins%2Ftests%2Fcheck_http.t;h=d7f4148c32b8105562d911cb4583d1541bb4706b;hb=37e432ec776cda34e0e410fe5c75eb3b4871f74c;hp=0a1b0bc89da8fa695c2841d4d0bcf53515c73cb2;hpb=ead340235ef352674a0033633dc913be5efc292b;p=nagiosplug.git diff --git a/plugins/tests/check_http.t b/plugins/tests/check_http.t index 0a1b0bc..d7f4148 100755 --- a/plugins/tests/check_http.t +++ b/plugins/tests/check_http.t @@ -163,18 +163,18 @@ SKIP: { $result = NPTest->testCmd( "$command -p $port_https -S -C 14" ); is( $result->return_code, 0, "$command -p $port_https -S -C 14" ); - is( $result->output, 'OK - Certificate will expire on 03/03/2019 21:41 GMT.', "output ok" ); + is( $result->output, 'OK - Certificate will expire on 03/03/2019 21:41.', "output ok" ); $result = NPTest->testCmd( "$command -p $port_https -S -C 14000" ); is( $result->return_code, 1, "$command -p $port_https -S -C 14000" ); - like( $result->output, '/WARNING - Certificate expires in \d+ day\(s\) \(03/03/2019 21:41 GMT\)./', "output ok" ); + like( $result->output, '/WARNING - Certificate expires in \d+ day\(s\) \(03/03/2019 21:41\)./', "output ok" ); # Expired cert tests $result = NPTest->testCmd( "$command -p $port_https_expired -S -C 7" ); is( $result->return_code, 2, "$command -p $port_https_expired -S -C 7" ); is( $result->output, - 'CRITICAL - Certificate expired on 03/05/2009 00:13 GMT.', + 'CRITICAL - Certificate expired on 03/05/2009 00:13.', "output ok" ); }