mbox series

[v1,0/2] selftest/kexec: minor update to the existing test

Message ID 20211222213052.6771-1-zohar@linux.ibm.com (mailing list archive)
Headers show
Series selftest/kexec: minor update to the existing test | expand

Message

Mimi Zohar Dec. 22, 2021, 9:30 p.m. UTC
Some distros are now storing the Kconfig in /lib/modules/`uname -r`/config.
Check there first before attempting to read it from /proc or extract it
from the kernel image.

Fix "ignored null byte in input" warning.

Mimi Zohar (2):
  selftest/kexec: fix "ignored null byte in input" warning
  selftests/kexec: update searching for the Kconfig

 tools/testing/selftests/kexec/kexec_common_lib.sh   | 13 +++++++++----
 .../testing/selftests/kexec/test_kexec_file_load.sh |  5 +++--
 2 files changed, 12 insertions(+), 6 deletions(-)