diff options
author | Lorenz <12514511+RincewindsHat@users.noreply.github.com> | 2023-04-14 22:02:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-14 22:02:42 +0200 |
commit | aff54257822a507121aaaee0b6b8cdfdef41b615 (patch) | |
tree | abfb970cab5f7bfed94fe0b70ddfc37ed24cc567 /plugins/t/check_mysql_query.t | |
parent | e44dcb80f1fdab2751cd460325391676e4f1a466 (diff) | |
parent | 0f3703e641f0f995a8abb40056cb5430b6c228c4 (diff) | |
download | monitoring-plugins-aff54257822a507121aaaee0b6b8cdfdef41b615.tar.gz |
Merge pull request #1864 from waja/seperated_typo
Fix typos
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 96899ac6..c30245b2 100644 --- a/plugins/t/check_mysql_query.t +++ b/plugins/t/check_mysql_query.t | |||
@@ -31,7 +31,7 @@ $result = NPTest->testCmd("./check_mysql_query -q 'SELECT 1+1' -H $mysqlserver $ | |||
31 | cmp_ok( $result->return_code, '==', 0, "Can run query"); | 31 | cmp_ok( $result->return_code, '==', 0, "Can run query"); |
32 | 32 | ||
33 | $result = NPTest->testCmd("./check_mysql_query -H $mysqlserver $mysql_login_details"); | 33 | $result = NPTest->testCmd("./check_mysql_query -H $mysqlserver $mysql_login_details"); |
34 | cmp_ok( $result->return_code, '==', 3, "Missing query parmeter"); | 34 | cmp_ok( $result->return_code, '==', 3, "Missing query parameter"); |
35 | like( $result->output, "/Must specify a SQL query to run/", "Missing query error message"); | 35 | like( $result->output, "/Must specify a SQL query to run/", "Missing query error message"); |
36 | 36 | ||
37 | $result = NPTest->testCmd("./check_mysql_query -q 'SELECT 1+1' -H $mysqlserver -u dummy -d mysql"); | 37 | $result = NPTest->testCmd("./check_mysql_query -q 'SELECT 1+1' -H $mysqlserver -u dummy -d mysql"); |