Re: [PATCH v2 bpf-next] selftests/bpf: Add an option for a debug shell in vmtest.sh

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 22, 2021 at 6:47 PM KP Singh <kpsingh@xxxxxxxxxx> wrote:
>
> 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 <kpsingh@xxxxxxxxxx>
> ---

I run:

./vmtest.sh -s

And I get test_progs executed, not bash. What do I do wrong?...

>  tools/testing/selftests/bpf/vmtest.sh | 39 +++++++++++++++++++--------
>  1 file changed, 28 insertions(+), 11 deletions(-)
>

[...]



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux