Message ID | 20200113124907.11086-2-mbenes@suse.cz (mailing list archive) |
---|---|
State | Mainlined |
Commit | b54c82e9196ff4d8fb3ec5342e419cab6b710352 |
Headers | show |
Series | selftests/livepatch: Trivial cleanups | expand |
On 1/13/20 6:19 PM, Miroslav Benes wrote: > Commit 35c9e74cff4c ("selftests/livepatch: Make dynamic debug setup and > restore generic") introduced setup_config() to set up the environment > for each test. It superseded set_dynamic_debug(). README still mentions > set_dynamic_debug(), so update it to setup_config() which should be used > now in every test. > > Signed-off-by: Miroslav Benes <mbenes@suse.cz> Reviewed-by: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
diff --git a/tools/testing/selftests/livepatch/README b/tools/testing/selftests/livepatch/README index b73cd0e2dd51..621d325425c2 100644 --- a/tools/testing/selftests/livepatch/README +++ b/tools/testing/selftests/livepatch/README @@ -35,7 +35,7 @@ Adding tests ------------ See the common functions.sh file for the existing collection of utility -functions, most importantly set_dynamic_debug() and check_result(). The +functions, most importantly setup_config() and check_result(). The latter function greps the kernel's ring buffer for "livepatch:" and "test_klp" strings, so tests be sure to include one of those strings for result comparison. Other utility functions include general module
Commit 35c9e74cff4c ("selftests/livepatch: Make dynamic debug setup and restore generic") introduced setup_config() to set up the environment for each test. It superseded set_dynamic_debug(). README still mentions set_dynamic_debug(), so update it to setup_config() which should be used now in every test. Signed-off-by: Miroslav Benes <mbenes@suse.cz> --- tools/testing/selftests/livepatch/README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)