summaryrefslogtreecommitdiffstats
path: root/plugins/t/check_ssh.t
AgeCommit message (Collapse)AuthorFilesLines
2022-01-14check_ssh: Handle non-alpha software versionsAnton Lofgren1-31/+45
This patch fixes a bug where we would reject version control strings that do not contain letters, because the assumption is made that they always do. This is not required by the RFC however, and there exist implementations that do not contain letters. I've also added a few references to the RFC to make the process of parsing the control string more apparent. This fixes op5#8716 (https://bugs.op5.com/view.php?id=8716) Signed-off-by: Anton Lofgren <alofgren@op5.com>
2022-01-14check_ssh.t: Fix a few typosAnton Lofgren1-5/+2
Signed-off-by: Anton Lofgren <alofgren@op5.com>
2022-01-14check_ssh: properly parse a delayed version control stringAnton Lofgren1-20/+89
This resolves an issue with SSH servers which do not respond with their version control string as the first thing in the SSH protocol version exchange phase after connection establishment. This patch also makes sure that we disregard a potential comment in the version exchange string to avoid nonsense mismatches. In the future, we might want to add the capability to match against a user specified comment. In addition, the patch largely improves the communication towards the server, which adds better protocol adherence. Of course, new test cases are added to support the trigger and guard against regressions of the bugs solved by this patch. This fixes op5#7945 (https://bugs.op5.com/view.php?id=7945) Signed-off-by: Anton Lofgren <alofgren@op5.com>
2018-12-04tests: rework test parametersrefs/pull/1565/headSven Nierlein1-11/+3
there were 2 variants of calling getTestParameter: - parameter, description, default value - parameter, env value, default value, description, scope While scope was never actually used and having 2 names for the same value led to having 2 different entries in the cache file for the same configuration. This commit removes the variants and simplifies tests parameters by only using the first 3 parameter variant.
2013-09-17check_ssh: added test caseSven Nierlein1-0/+49