Skip to content

Commit

Permalink
selftests/livepatch: Replace set_dynamic_debug() with setup_config() …
Browse files Browse the repository at this point in the history
…in README

Commit 35c9e74 ("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 <[email protected]>
Reviewed-by: Kamalesh Babulal <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
  • Loading branch information
mirab authored and shuahkh committed Jan 16, 2020
1 parent 46d1a0f commit b54c82e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/testing/selftests/livepatch/README
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b54c82e

Please sign in to comment.