crosvm/e2e_tests/guest_under_test
Dennis Kempin a5312895e7 e2e_tests: Extend exec_in_guest functionality
This is a refactoring that adds the following functionality to
exec_in_guest:

- Receive exit codes from executed commands and by default check
  if they are zero.
- Add timeouts to all communication with the guest
- Allow commands to be executed asynchronously, to allow the test
  code to perform actions while the guest command is running.
- Add anyhow error handling with contexts for more helpful error
  messages

BUG=b:269137600
BUG=b:268539201

Change-Id: Ic069c3ccae363790a124db10a0db76e4ad4384c3
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4251717
Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org>
Reviewed-by: Zihan Chen <zihanchen@google.com>
2023-02-21 22:54:30 +00:00
..
delegate.rs e2e_tests: Extend exec_in_guest functionality 2023-02-21 22:54:30 +00:00
Dockerfile e2e_tests: Add a tool to dev_container and guest rootfs 2022-11-07 04:00:40 +00:00
install_build_deps.sh e2e_tests: Uprev kernel to 5.10 2022-11-15 21:06:40 +00:00
Makefile e2e_tests: Uprev kernel to 5.10 2022-11-15 21:06:40 +00:00
PREBUILT_VERSION e2e_tests: Extend exec_in_guest functionality 2023-02-21 22:54:30 +00:00
upload_prebuilts.sh Rename integration_tests to e2e_tests 2022-11-03 22:49:39 +00:00
use_local_build.sh e2e_tests: stay in the current directory 2022-12-02 00:16:50 +00:00