[PATCH] selftests/livepatch: Use setup_config() also in test-state.sh
From: Petr Mladek
Date: Fri Dec 13 2019 - 03:26:45 EST
The commit 35c9e74cff4c798d0 ("selftests/livepatch: Make dynamic debug
setup and restore generic") introduced setup_config() to prepare
the testing environment. All selftests should call it instead
of set_dynamic_debug().
test-state.sh has been developed in parallel and was not converted
by mistake.
Signed-off-by: Petr Mladek <pmladek@xxxxxxxx>
---
tools/testing/selftests/livepatch/test-state.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/livepatch/test-state.sh b/tools/testing/selftests/livepatch/test-state.sh
index dc2908c22c26..5c80e51fca55 100755
--- a/tools/testing/selftests/livepatch/test-state.sh
+++ b/tools/testing/selftests/livepatch/test-state.sh
@@ -8,7 +8,7 @@ MOD_LIVEPATCH=test_klp_state
MOD_LIVEPATCH2=test_klp_state2
MOD_LIVEPATCH3=test_klp_state3
-set_dynamic_debug
+setup_config
# TEST: Loading and removing a module that modifies the system state
--
2.16.4