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

Sowmya Indranna Sowmya.Indranna@ibm.com
Fri Apr 21 14:54:06 CEST 2023


Hi,

Sharing the patch for issue#1033 - cpuset_regression_test.sh

commit 253ed67c6977c84bb46fb6e06bfac14f7f3392f9 (HEAD -> master)
Author: Sowmya-Indranna <131340936+Sowmya-Indranna@users.noreply.github.com>
Date:   Fri Apr 21 16:18:04 2023 +0530

    cpuset_regression_test.sh: Renamed the test function

    Signed-off-by: SOWMYA INDRANNA <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