lkml.org 
[lkml]   [2019]   [Oct]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v3 2/3] selftests/livepatch: Make dynamic debug setup and restore generic
From
Date
On 10/16/19 1:10 PM, Kamalesh Babulal wrote:
> On 10/16/19 5:03 PM, Miroslav Benes wrote:
>> From: Joe Lawrence <joe.lawrence@redhat.com>
>>
>> Livepatch selftests currently save the current dynamic debug config and
>> tweak it for the selftests. The config is restored at the end. Make the
>> infrastructure generic, so that more variables can be saved and
>> restored.
>>
>> Signed-off-by: Joe Lawrence <joe.lawrence@redhat.com>
>> Signed-off-by: Miroslav Benes <mbenes@suse.cz>
>> ---
>> .../testing/selftests/livepatch/functions.sh | 22 +++++++++++--------
>> .../selftests/livepatch/test-callbacks.sh | 2 +-
>> .../selftests/livepatch/test-livepatch.sh | 2 +-
>> .../selftests/livepatch/test-shadow-vars.sh | 2 +-
>
> A minor nit pick, should the README also updated with the setup_config()?
>

Yup, good eye. I think it should be a simple matter of
s/set_dynamic_debug/setup_config/g

-- Joe

\
 
 \ /
  Last update: 2019-10-16 23:40    [W:0.464 / U:0.312 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site