support/testing: add openssh runtime test
authorRomain Naour <romain.naour@smile.fr>
Mon, 17 Aug 2020 21:55:45 +0000 (23:55 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Wed, 19 Aug 2020 20:13:43 +0000 (22:13 +0200)
commit243d500f8d3fe5b9810932b49e0edf2a310cfb6e
treea57511718e793da6265f78b0896dc12d61271df0
parent486d2d5ee049b433d911b785a6553e55aecfdb7a
support/testing: add openssh runtime test

This new runtime test is based on test_dropbear.py. The only required change
is to use "-oStrictHostKeyChecking=no" instead of "-y" to accept the new key.

Since the base test infra only provide a uClibc-ng toolchain, add a second
test using a glibc based internal toolchain.

For example, this allow to trigger the openssh 8.1p bug with glibc 2.31 [1].

[1] https://bugs.archlinux.org/task/65386

Signed-off-by: Romain Naour <romain.naour@smile.fr>
yann.morin.1998@free.fr:
  - deduplicate the whole test
  - don't provide any NIC, we only need and use lo
  - simplify post-build script (append with cat, don't munge with sed)
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
DEVELOPERS
support/testing/tests/package/test_openssh.py [new file with mode: 0644]
support/testing/tests/package/test_openssh/post-build.sh [new file with mode: 0755]