public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH] Renamed test function paramter and function name under cn_pec.sh, cgroup_fj_stress.sh and memcg_failcnt.sh
@ 2023-04-28 15:31 Mahesh Kumar G
  2023-05-02  8:53 ` Cyril Hrubis
  0 siblings, 1 reply; 2+ messages in thread
From: Mahesh Kumar G @ 2023-04-28 15:31 UTC (permalink / raw)
  To: ltp; +Cc: Mahesh Kumar G

Signed-off-by: Mahesh Kumar G <mahesh.kumar.g@ibm.com>
---
 testcases/kernel/connectors/pec/cn_pec.sh                     | 4 ++--
 testcases/kernel/controllers/cgroup_fj/cgroup_fj_stress.sh    | 4 ++--
 .../kernel/controllers/memcg/functional/memcg_failcnt.sh      | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/testcases/kernel/connectors/pec/cn_pec.sh b/testcases/kernel/connectors/pec/cn_pec.sh
index 082e30102..dce7f210b 100755
--- a/testcases/kernel/connectors/pec/cn_pec.sh
+++ b/testcases/kernel/connectors/pec/cn_pec.sh
@@ -11,7 +11,7 @@
 
 TST_OPTS="n:"
 TST_SETUP=setup
-TST_TESTFUNC=test
+TST_TESTFUNC=do_test
 TST_PARSE_ARGS=parse_args
 TST_USAGE=usage
 TST_NEEDS_ROOT=1
@@ -66,7 +66,7 @@ setup()
 	tst_res TINFO "Test process events connector"
 }
 
-test()
+do_test()
 {
 	local event=$2
 	local gen_pid list_pid gen_rc lis_rc
diff --git a/testcases/kernel/controllers/cgroup_fj/cgroup_fj_stress.sh b/testcases/kernel/controllers/cgroup_fj/cgroup_fj_stress.sh
index d80b83bbd..72d3c53f4 100755
--- a/testcases/kernel/controllers/cgroup_fj/cgroup_fj_stress.sh
+++ b/testcases/kernel/controllers/cgroup_fj/cgroup_fj_stress.sh
@@ -7,7 +7,7 @@
 
 TCID="cgroup_fj_stress"
 TST_CNT=1
-TST_TESTFUNC=test
+TST_TESTFUNC=do_test
 TST_SETUP=setup
 TST_CLEANUP=cleanup
 TST_POS_ARGS=4
@@ -126,7 +126,7 @@ cleanup()
     common_cleanup
 }
 
-test()
+do_test()
 {
     tst_res TINFO "Creating subgroups ..."
 
diff --git a/testcases/kernel/controllers/memcg/functional/memcg_failcnt.sh b/testcases/kernel/controllers/memcg/functional/memcg_failcnt.sh
index 1be98a056..3a02d16c2 100755
--- a/testcases/kernel/controllers/memcg/functional/memcg_failcnt.sh
+++ b/testcases/kernel/controllers/memcg/functional/memcg_failcnt.sh
@@ -8,11 +8,11 @@
 # Restructure for LTP: Shi Weihua <shiwh@cn.fujitsu.com>
 # Added memcg enable/disable functionality: Rishikesh K Rajak <risrajak@linux.vnet.ibm.com>
 
-MEMCG_TESTFUNC=test
+MEMCG_TESTFUNC=do_test
 MEMCG_SHMMAX=1
 TST_TEST_DATA="--mmap-anon --mmap-file --shm"
 
-test()
+do_test()
 {
 	ROD echo $MEMORY_LIMIT \> memory.limit_in_bytes
 
-- 
2.37.1 (Apple Git-137.1)


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

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

* Re: [LTP] [PATCH] Renamed test function paramter and function name under cn_pec.sh, cgroup_fj_stress.sh and memcg_failcnt.sh
  2023-04-28 15:31 [LTP] [PATCH] Renamed test function paramter and function name under cn_pec.sh, cgroup_fj_stress.sh and memcg_failcnt.sh Mahesh Kumar G
@ 2023-05-02  8:53 ` Cyril Hrubis
  0 siblings, 0 replies; 2+ messages in thread
From: Cyril Hrubis @ 2023-05-02  8:53 UTC (permalink / raw)
  To: Mahesh Kumar G; +Cc: Mahesh Kumar G, ltp

Hi!
I rewrote the commit message a bit and pushed, thanks.

-- 
Cyril Hrubis
chrubis@suse.cz

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

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

end of thread, other threads:[~2023-05-02  8:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-28 15:31 [LTP] [PATCH] Renamed test function paramter and function name under cn_pec.sh, cgroup_fj_stress.sh and memcg_failcnt.sh Mahesh Kumar G
2023-05-02  8:53 ` Cyril Hrubis

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