diff options
author | KP Singh <[email protected]> | 2021-03-23 01:47:52 +0000 |
---|---|---|
committer | Andrii Nakryiko <[email protected]> | 2021-03-30 22:05:23 -0700 |
commit | 63f8af0fc34197a276674fa0d4d865aeff1f0172 (patch) | |
tree | 4ec0d4da5c940ba9d3424fc41c068085b0a6aebe /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | 235fc0e36d35270e1ff426f26bbea6154b8863a5 (diff) |
selftests/bpf: Add an option for a debug shell in vmtest.sh
The newly introduced -s command line option starts an interactive shell.
If a command is specified, the shell is started after the command
finishes executing. It's useful to have a shell especially when
debugging failing tests or developing new tests.
Since the user may terminate the VM forcefully, an extra "sync" is added
after the execution of the command to persist any logs from the command
into the log file.
Signed-off-by: KP Singh <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions