Message ID | 20200615172756.12912-1-joe.lawrence@redhat.com (mailing list archive) |
---|---|
Headers | show |
Series | selftests/livepatch: small script cleanups | expand |
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@linux.vnet.ibm.com>
On Mon, 15 Jun 2020, 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(-) Acked-by: Miroslav Benes <mbenes@suse.cz> M
On Mon 2020-06-15 13:27:52, 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 > > 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 For the series: Revieved-by: Petr Mladek <pmladek@suse.com> Best Regards, Petr
For the series: Reviewed-by: Yannick Cote <ycote@redhat.com> On Mon, Jun 15, 2020 at 1:28 PM Joe Lawrence <joe.lawrence@redhat.com> 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(-) > > -- > 2.21.3 >