[LTP] [PATCH] controllers/cpuset_regression_test.sh - Issue #1033

Sowmya Indranna Sowmya.Indranna@ibm.com
Fri Apr 21 15:39:01 CEST 2023


Hi,



Sharing the patch for issue#1033 - cpuset_regression_test.sh


commit 6c681b9480a8aa47b053a8aa5d5b2a6592e79b47 (HEAD -> master)
Author: SOWMYA INDRANNA sowmya.indranna@ibm.com<mailto:sowmya.indranna@ibm.com>
Date:   Fri Apr 21 13:31:52 2023 +0000

    cpuset_regression_test.sh: Renamed the test function

    Signed-off-by: SOWMYA INDRANNA sowmya.indranna@ibm.com<mailto:sowmya.indranna@ibm.com>

diff --git a/testcases/kernel/controllers/cpuset/cpuset_regression_test.sh b/testcases/kernel/controllers/cpuset/cpuset_regression_test.sh
index 8e87d20e4..1ae8933bc 100755
--- a/testcases/kernel/controllers/cpuset/cpuset_regression_test.sh
+++ b/testcases/kernel/controllers/cpuset/cpuset_regression_test.sh
@@ -12,7 +12,7 @@

TST_SETUP=setup
TST_CLEANUP=cleanup
-TST_TESTFUNC=test
+TST_TESTFUNC=do_test
TST_NEEDS_ROOT=1
TST_NEEDS_TMPDIR=1
TST_MIN_KVER="3.18"
@@ -178,7 +178,7 @@ cleanup()
        cgroup_cleanup
}

-test()
+do_test()
{
        local cpu_exclusive_tmp cpus_value



regards
Sowmya


More information about the ltp mailing list