diff options
| author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-11-07 15:22:05 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-07 15:22:05 +0100 |
| commit | 2eb22a87d2cb5467c5b031c720726c2531202055 (patch) | |
| tree | 7f553a70ca980fe7e7de57c3bc0e648d3986930f /plugins/t/check_mysql_query.t | |
| parent | b5e7f4e6cc8c586fdb20949369e05105157a61a7 (diff) | |
| parent | 5bbfd58105766d453a6d0de5b9afcaf6daf4b460 (diff) | |
| download | monitoring-plugins-2eb22a87d2cb5467c5b031c720726c2531202055.tar.gz | |
check_mysql_query: implement modern output
Diffstat (limited to 'plugins/t/check_mysql_query.t')
| -rw-r--r-- | plugins/t/check_mysql_query.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/t/check_mysql_query.t b/plugins/t/check_mysql_query.t index c30245b2..6de48bf6 100644 --- a/plugins/t/check_mysql_query.t +++ b/plugins/t/check_mysql_query.t | |||
| @@ -54,5 +54,5 @@ like( $result->output, "/No rows returned/", "No rows error message"); | |||
| 54 | 54 | ||
| 55 | $result = NPTest->testCmd("./check_mysql_query -q 'SHOW VARIABLES' -H $mysqlserver $mysql_login_details"); | 55 | $result = NPTest->testCmd("./check_mysql_query -q 'SHOW VARIABLES' -H $mysqlserver $mysql_login_details"); |
| 56 | cmp_ok( $result->return_code, '==', 2, "Data not numeric"); | 56 | cmp_ok( $result->return_code, '==', 2, "Data not numeric"); |
| 57 | like( $result->output, "/Is not a numeric/", "Data not numeric error message"); | 57 | like( $result->output, "/is not numeric/", "Data not numeric error message"); |
| 58 | 58 | ||
