ef77253961f909f87e82e6d2b620e87af33e9665 |
|
09-Oct-2009 |
yaberauneya <yaberauneya> |
1. Please see README.mk-devel for a full description of the changes from a Make perspective. 2. Several files were changed to accomodate correct installation practices, most notably ones in testcases/network/{ipv6,tcp_cmds}, testcases/kernel/sched/hyperthreading/ht_enabled/..., and some items in tools/..., and also to avoid collisions as far as installed testcases (scripts, compiled C apps) were concerned. 3. Several apps weren't autoconf safe and some autoconf tests and conditional statements have been placed in sourcecode and in Makefiles to either a) prevent the tests from being built / installed or b) turn the tests into dummy apps which print out TCONF messages due to lack-of-build support. Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
/external/ltp/testcases/kernel/controllers/memcg/regression/Makefile
|
10b933548ef208cfd1042bfe54871ed04849c059 |
|
14-Sep-2009 |
subrata_modak <subrata_modak> |
Add new testcases for memcgroup: My workmate Li Zefan (lizf@cn.fujitsu.com) has created some testcases for cgroup's subsystem "memory" in the last year. And, He catched some kernel bugs through these testcases. So we think you glad to push them into LTP. There are total 40 testcases that have been added. These testcases contain the basis operation test, part functionality test and stress test of memcgroup. How to run this test: # runltp -f controllers. Result: memcgroup_function_test 1 TPASS : rss=4096/4096, cache=0/0 memcgroup_function_test 2 TPASS : rss=0/0, cache=4096/4096 memcgroup_function_test 3 TPASS : rss=0/0, cache=4096/4096 memcgroup_function_test 4 TPASS : rss=4096/4096, cache=8192/8192 memcgroup_function_test 5 TPASS : rss=4096/4096, cache=0/0 memcgroup_function_test 6 TPASS : rss=4096/4096, cache=0/0 memcgroup_function_test 6 TPASS : rss=0/0, cache=0/0 memcgroup_function_test 7 TPASS : rss=0/0, cache=4096/4096 memcgroup_function_test 7 TPASS : rss=0/0, cache=0/0 memcgroup_function_test 8 TPASS : rss=0/0, cache=4096/4096 memcgroup_function_test 8 TPASS : rss=0/0, cache=0/0 memcgroup_function_test 9 TPASS : rss=4096/4096, cache=8192/8192 memcgroup_function_test 9 TPASS : rss=0/0, cache=0/0 memcgroup_function_test 10 TPASS : rss=4096/4096, cache=0/0 memcgroup_function_test 10 TPASS : rss=0/0, cache=0/0 memcgroup_function_test 11 TPASS : failcnt=6 memcgroup_function_test 12 TPASS : failcnt=6 memcgroup_function_test 13 TPASS : failcnt=6 memcgroup_function_test 14 TPASS : process 5793 is killed memcgroup_function_test 15 TPASS : process 5803 is killed memcgroup_function_test 16 TPASS : process 5813 is killed memcgroup_function_test 17 TPASS : process 5824 is killed memcgroup_function_test 18 TPASS : process 5835 is killed memcgroup_function_test 19 TPASS : process 5845 is killed memcgroup_function_test 20 TPASS : process 5854 is killed memcgroup_function_test 21 TPASS : process 5863 is killed memcgroup_function_test 22 TPASS : input=4095, limit_in_bytes=4096 memcgroup_function_test 23 TPASS : input=4097, limit_in_bytes=8192 memcgroup_function_test 24 TPASS : input=1, limit_in_bytes=4096 memcgroup_function_test 25 TPASS : return value is 0 memcgroup_function_test 26 TPASS : return value is 1 memcgroup_function_test 27 TPASS : return value is 1 memcgroup_function_test 28 TPASS : return value is 1 memcgroup_function_test 29 TPASS : force memory succeeded memcgroup_function_test 30 TPASS : force memory failed as expected memcgroup_function_test 31 TPASS : return value is 0 memcgroup_function_test 32 TPASS : return value is 0 memcgroup_function_test 33 TPASS : return value is 0 memcgroup_function_test 34 TPASS : return value is 0 memcgroup_function_test 35 TPASS : return value is 1 memcgroup_function_test 36 TPASS : rss=4096/4096, cache=0/0 memcgroup_function_test 36 TPASS : rss=0/0, cache=0/0 memcgroup_function_test 37 TPASS : rss=4096/4096, cache=0/0 memcgroup_function_test 37 TPASS : rss=0/0, cache=0/0 memcgroup_function_test 38 TPASS : rss=4096/4096, cache=0/0 memcgroup_function_test 38 TPASS : rss=0/0, cache=0/0 memcgroup_stress_test 1 TPASS : stress test 1 passed memcgroup_stress_test 2 TPASS : stress test 2 passed INFO: ltp-pan reported all tests PASS, Signed-off-by: Shi Weihua <shiwh@cn.fujitsu.com>,
/external/ltp/testcases/kernel/controllers/memcg/regression/Makefile
|