2 Commits

Author SHA1 Message Date
Andrew G. Morgan
b5dcf3aa87 Add some code to automatically exit the kernel test
I occasionally test libcap against a custom kernel using QEMU.
Now I have a simple exit binary for exiting with status.

From the top level, one can use:

  make ktest

However, for more control:

  cd kdebug
  make test

If you want to look around after the tests run:

  make shell

Exit the shell & QEMU with ctrl-D (or exit).

Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
2021-03-13 15:36:25 -08:00
Andrew G. Morgan
dce069b617 Add something to run libcap's quicktest tests against development kernel.
The kdebug directory requires qemu to run and expects the kernel
to be compiled with the running architecture. My setup has the kernel
sources as a peer to the libcap directory so kdebug assumes that too.

Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
2016-02-06 19:42:27 -08:00