]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/livepatch: Use "comm" instead of "diff" for dmesg
authorJoe Lawrence <joe.lawrence@redhat.com>
Fri, 10 Jul 2020 18:37:45 +0000 (14:37 -0400)
committerPetr Mladek <pmladek@suse.com>
Tue, 14 Jul 2020 07:32:27 +0000 (09:32 +0200)
commit519a4d8e3560d7577b2efa409c2424b957d5c90a
treef50412042e9aa615ccf790634d23428ac23b49d9
parent61b7dd7c4140567b3b9146fb03bb226ce2da50b2
selftests/livepatch: Use "comm" instead of "diff" for dmesg

BusyBox diff doesn't support the GNU diff '--LTYPE-line-format' options
that were used in the selftests to filter older kernel log messages from
dmesg output.

Use "comm" which is more available in smaller boot environments.

Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org>
Signed-off-by: Joe Lawrence <joe.lawrence@redhat.com>
Reviewed-by: Yannick Cote <ycote@redhat.com>
Reviewed-by: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/20200710183745.19730-1-joe.lawrence@redhat.com
tools/testing/selftests/livepatch/functions.sh