public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH] cpuset_base_ops_testset.sh: drop sched_relax_domain_level test
@ 2011-09-19  7:08 Jan Stancek
  2011-10-19 14:02 ` Cyril Hrubis
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Stancek @ 2011-09-19  7:08 UTC (permalink / raw)
  To: ltp-list

[-- Attachment #1: Type: text/plain, Size: 570 bytes --]


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.

Signed-off-by: Jan Stancek <jstancek@redhat.com>
---
  .../cpuset_base_ops_testset.sh                     |   27 
+-------------------
  1 files changed, 1 insertions(+), 26 deletions(-)



[-- Attachment #2: 0001-cpuset_base_ops_testset.sh-drop-sched_relax_domain_l.patch --]
[-- Type: text/x-patch, Size: 1036 bytes --]

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..1b84996 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
@@ -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


[-- Attachment #3: Type: text/plain, Size: 369 bytes --]

------------------------------------------------------------------------------
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 

[-- Attachment #4: Type: text/plain, Size: 155 bytes --]

_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [LTP] [PATCH] cpuset_base_ops_testset.sh: drop sched_relax_domain_level test
  2011-09-19  7:08 [LTP] [PATCH] cpuset_base_ops_testset.sh: drop sched_relax_domain_level test Jan Stancek
@ 2011-10-19 14:02 ` Cyril Hrubis
  0 siblings, 0 replies; 2+ messages in thread
From: Cyril Hrubis @ 2011-10-19 14:02 UTC (permalink / raw)
  To: Jan Stancek; +Cc: ltp-list

Hi!

All commited, thanks.
-- 
Cyril Hrubis
chrubis@suse.cz

------------------------------------------------------------------------------
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
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-10-19 13:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-19  7:08 [LTP] [PATCH] cpuset_base_ops_testset.sh: drop sched_relax_domain_level test Jan Stancek
2011-10-19 14:02 ` Cyril Hrubis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox