Skip to contentSkip to conversation

cpuset_base_ops_testset.sh: drop sched_relax_domain_level test

PATCH In review Jan Stancek 2 participants 2 messages Sep 19, 2011 – Oct 19, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cpuset_base_ops_testset.sh: drop sched_relax_domain_level test

At the moment we don't have reliable way to enumerate all possible values, which can be used. They are dependent on both kernel version and kernel config.

Based on previous discussion here:
http://article.gmane.org/gmane.linux.ltp/14146/match=sched_relax_domain_level
it seems better to get rid of this testcase, rather than testing internal knobs, which can change at anytime.

---
 .../cpuset_base_ops_testset.sh                     |   27 
+-------------------
 1 files changed, 1 insertions(+), 26 deletions(-)
testcases/kernel/controllers/cpuset/cpuset_base_ops_test/cpuset_base_ops_testset.sh +1 -26
index 2b1016e..1b84996 100755
@@ -176,28 +176,6 @@ test_flags()
 	done # for filename in flagfiles
 }
 
-test_domain()
-{
-	cfile_name="sched_relax_domain_level"
-	while read domain_level result
-	do
-		base_op_test "$CPUSET/sched_relax_domain_level" "$domain_level" "$result"
-	done <<- EOF
-		NULL	0
-		0	0
-		1	1
-		2	2
-		3	3
-		4	4
-		5	5
-		6	WRITE_ERROR
-		-1	-1
-		-2	WRITE_ERROR
-		A	WRITE_ERROR
-	EOF
-	# while read domain_level result
-}
-
 # attach_task_test <cpus> <mems> <expect>
 attach_task_test()
 {
@@ -288,10 +266,7 @@ test_mems
 # Case 36-83
 test_flags
 
-# Case 84-94
-test_domain
-
-# Case 95-97
+# Case 84-86
 test_attach_task
 
 exit $exit_status

------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA Learn about the latest advances in developing for the BlackBerry&reg; mobile platform with sessions, labs & more. See new tools and technologies. Register for BlackBerry&reg; DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1

_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#1 lore raw

Hi!

All commited, thanks.

Signature · 13 lines
Cyril Hrubis
[email protected]

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list