On 6/15/20 10:57 PM, Joe Lawrence wrote: > This is a small collection of tweaks for the shellscript side of the > livepatch tests. If anyone else has a small cleanup (or even just a > suggestion for a low-hanging change) and would like to tack it onto the > set, let me know. > > based-on: livepatching.git, for-5.9/selftests-cleanup > merge-thru: livepatching.git > > v2: > - use consistent start_test messages from the original echoes [mbenes] > - move start_test invocations to just after their descriptions [mbenes] > - clean up $SAVED_DMSG on trap EXIT [pmladek] > - grep longer kernel taint line, avoid word-matching [mbenes, pmladek] > - add "===== TEST: $test =====" delimiter patch [pmladek] > > Joe Lawrence (4): > selftests/livepatch: Don't clear dmesg when running tests > selftests/livepatch: use $(dmesg --notime) instead of manually > filtering > selftests/livepatch: refine dmesg 'taints' in dmesg comparison > selftests/livepatch: add test delimiter to dmesg > > tools/testing/selftests/livepatch/README | 16 +++--- > .../testing/selftests/livepatch/functions.sh | 32 ++++++++++- > .../selftests/livepatch/test-callbacks.sh | 55 ++++--------------- > .../selftests/livepatch/test-ftrace.sh | 4 +- > .../selftests/livepatch/test-livepatch.sh | 12 +--- > .../selftests/livepatch/test-shadow-vars.sh | 4 +- > .../testing/selftests/livepatch/test-state.sh | 21 +++---- > 7 files changed, 63 insertions(+), 81 deletions(-) > For the series: Reviewed-by: Kamalesh Babulal <kamalesh@xxxxxxxxxxxxxxxxxx> -- Kamalesh