diff options
author | Miroslav Benes <mbenes@suse.cz> | 2020-01-13 13:49:06 +0100 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2020-01-16 21:03:22 +0100 |
commit | b54c82e9196ff4d8fb3ec5342e419cab6b710352 (patch) | |
tree | 3a3b26baf9b0ce648f029f4f4e524682eec76c18 /tools | |
parent | selftests/lkdtm: Add tests for LKDTM targets (diff) | |
download | linux-b54c82e9196ff4d8fb3ec5342e419cab6b710352.tar.xz linux-b54c82e9196ff4d8fb3ec5342e419cab6b710352.zip |
selftests/livepatch: Replace set_dynamic_debug() with setup_config() in README
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>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/testing/selftests/livepatch/README | 2 |
1 files changed, 1 insertions, 1 deletions
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 |