commit 01a08546af311c065f34727787dd0cc8dc0c216f in linux
kernel tree introduced SD_LV_BOOK, which made value "6" valid.
It is questionable if this test should be in at all,
the sched domain mapping can be completely overridden by
the architecture-specific code.
Anyway, a quick solution for now is to skip testing value "6",
as it may work on newer kernels.
Signed-off-by: Jan Stancek <[email protected]>
---
.../cpuset_base_ops_testset.sh | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/testcases/kernel/controllers/cpuset/cpuset_base_ops_test/cpuset_base_ops_testset.sh b/testcases/kernel/controllers/cpuset/cpuset_base_ops_test/cpuset_base_ops_testset.sh
index 2b1016e..da1f6da 100755
--- a/testcases/kernel/controllers/cpuset/cpuset_base_ops_test/cpuset_base_ops_testset.sh
+++ b/testcases/kernel/controllers/cpuset/cpuset_base_ops_test/cpuset_base_ops_testset.sh
@@ -190,12 +190,13 @@ test_domain()
3 3
4 4
5 5
- 6 WRITE_ERROR
+ 7 WRITE_ERROR
-1 -1
-2 WRITE_ERROR
A WRITE_ERROR
EOF
# while read domain_level result
+ # changed limit to 7, as 6 might succeed, see SD_LV_MAX in include/linux/sched.h
}
# attach_task_test <cpus> <mems> <expect>
------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list