gentoo-ebuilds/net-misc/dropbear/files/dropbear-2024.84-non-interactive-tests-no-syslog.patch
Viorel Munteanu 6757782157
net-misc/dropbear: Fix tests
Add support for python3.11;
Disable tests that fail with USE=bsdpty;
Fix tests when built with USE=-syslog;
Fix testing server auth;
Fix aslr test.

Closes: https://bugs.gentoo.org/939601
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
2024-09-14 14:24:21 +03:00

13 lines
294 B
Diff

Force tests to be non-interactive
--- a/test/test_dropbear.py
+++ b/test/test_dropbear.py
@@ -23,7 +23,7 @@
args = opt.dropbear.split() + [
"-p", LOCALADDR + ":" + opt.port, # bind locally only
"-r", opt.hostkey,
- "-F", "-E",
+ "-F", "-s",
]
print("subprocess args: ", args)