Draft: Exercise ssh runner tests
Includes !152 (merged) and !153 (merged).
-
testbed: Never respond to auxverb_debug_fail by recursing
If we send the auxverb_debug_fail command and it fails, sending the same command again is never the right answer.
-
tests: Factor out a helper to make arbitrary commands more debuggable
This serves the same purpose as run_autopkgtest(), but generalized to anything with UTF-8 text output.
-
tests: Go back to being able to test ssh backend against lxc
lxd still isn't available in Debian, and lxc is; we can even run lxc inside a Docker container on Gitlab-CI, which is not something we know how to do with lxd. To make it possible to develop autopkgtest from a self-contained Debian system, it seems better to be able to get reasonable test coverage using only Debian.
This partially reverts commit 872d9d78 "Move SshRunner* tests from lxc to lxd".
-
tests: Make ssh-into-lxc more debuggable
-
d/tests/lxc: Exercise ssh runner tests