Re: [PATCH] selftests/livepatch: Do not check order when using "comm" for dmesg checking

2020-08-27 Thread Jiri Kosina
On Thu, 27 Aug 2020, Joe Lawrence wrote: > > , "comm" fails with "comm: file 2 is not in sorted order". Suppress the > > order checking with --nocheck-order option. > > > > Signed-off-by: Miroslav Benes > > Acked-by: Joe Lawrence > > And not so important for selftests, but helpful for backpor

Re: [PATCH] selftests/livepatch: Do not check order when using "comm" for dmesg checking

2020-08-27 Thread Joe Lawrence
On Thu, Aug 27, 2020 at 01:07:09PM +0200, Miroslav Benes wrote: > check_result() uses "comm" to check expected results of selftests output > in dmesg. Everything works fine if timestamps in dmesg are unique. If > not, like in this example > > [ 86.844422] test_klp_callbacks_demo: pre_unpatch_cal

[PATCH] selftests/livepatch: Do not check order when using "comm" for dmesg checking

2020-08-27 Thread Miroslav Benes
check_result() uses "comm" to check expected results of selftests output in dmesg. Everything works fine if timestamps in dmesg are unique. If not, like in this example [ 86.844422] test_klp_callbacks_demo: pre_unpatch_callback: test_klp_callbacks_mod -> [MODULE_STATE_LIVE] Normal state [ 86.