mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-30 20:43:02 +02:00
To reduce the duplication of effort between 9pm and the Infamy framework this change consolidates the move from local 'infamy: title:' extension to 9pm 'name:'. For the parameterized tunnel tests we leverage the 9pm dynamic test-spec variable, which looks for a correspodning <case>.adoc instead of static Readme.adoc, when generating the test report. Each test documentation should cover all aspects of the test, much like the usage text of a UNIX program. To this end, the tunnel test docs are now more spelled out, including all invariants. Some refactoring of these tests were also necessary, e.g., replacing any reserved Python keywords like 'type', and other PEP-8 fixes. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
=== Generate ssh key pair
ifdef::topdoc[:imagesdir: {topdoc}../../test/case/infix_services/ssh/ssh_key_authentication]
==== Description
Verify that 'guest' user can fetch data using only the 'public' key
==== Topology
image::topology.svg[Generate ssh key pair topology, align=center, scaledwidth=75%]
==== Sequence
. Connect to the target device
. Create a guest user on the target device
. Wait until SSH server is ready to accept connections
. Write private key to a temporary file
. Verify it is possible to fetch syslog data using public key