diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2022-09-12 20:56:17 +1000 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2022-09-13 05:32:00 +0200 |
commit | c2f248588b271f083c81f260c0818781e74e3c2d (patch) | |
tree | edfc25b7b5c5194878b5914e0a3101525e1a42aa /test/run | |
parent | a32df9b6f4e997cb1565f90eaa721266790590ff (diff) | |
download | passt-c2f248588b271f083c81f260c0818781e74e3c2d.tar passt-c2f248588b271f083c81f260c0818781e74e3c2d.tar.gz passt-c2f248588b271f083c81f260c0818781e74e3c2d.tar.bz2 passt-c2f248588b271f083c81f260c0818781e74e3c2d.tar.lz passt-c2f248588b271f083c81f260c0818781e74e3c2d.tar.xz passt-c2f248588b271f083c81f260c0818781e74e3c2d.tar.zst passt-c2f248588b271f083c81f260c0818781e74e3c2d.zip |
test: Integration of old-style pane execution and new context execution
We're creating a system for tests to more reliably execute commands in
various contexts (e.g. host, guest, namespace). That transition is going
to happen over a number of steps though, so in the meantime we need to deal
with both the old-style issuing of commands via typing into and screen
scraping tmux panels, and the new-style system for executing commands in
context.
Introduce some transitional helpers which will issue a command via context
if the requested context is initialized, but will otherwise fall back to
the old style tmux panel based method. Re-implement the various test DSL
commands in terms of these new helpers.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'test/run')
-rwxr-xr-x | test/run | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -39,6 +39,7 @@ COMMIT="$(git log --oneline --no-decorate -1)" . lib/util . lib/setup +. lib/context . lib/term . lib/perf_report . lib/layout |