mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-05 14:09:53 +03:00
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>
This commit is contained in:
committed by
Yann E. MORIN
parent
486d2d5ee0
commit
243d500f8d
6
support/testing/tests/package/test_openssh/post-build.sh
Executable file
6
support/testing/tests/package/test_openssh/post-build.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
cat <<_EOF_ >>"${TARGET_DIR}/etc/ssh/sshd_config"
|
||||
PermitRootLogin yes
|
||||
PasswordAuthentication yes
|
||||
_EOF_
|
||||
Reference in New Issue
Block a user