diff options
| author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-11-07 15:01:36 +0100 |
|---|---|---|
| committer | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-11-07 15:01:36 +0100 |
| commit | 9d827acbe1aac0edaa91a8765a87412a189cadf1 (patch) | |
| tree | 89d4c09957e7b9e1787742e6ce1bdf14e18fc537 /plugins/t | |
| parent | b5e7f4e6cc8c586fdb20949369e05105157a61a7 (diff) | |
| download | monitoring-plugins-9d827acbe1aac0edaa91a8765a87412a189cadf1.tar.gz | |
check_mysql_query: implement modern output
Diffstat (limited to 'plugins/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 | ||
