Skip to content

Commit ddf65fd

Browse files
mahi657metan-ucw
authored andcommitted
connectors,controlles: Rename test function
This is a folloup to: commit 917bf6d Author: Sowmya TI <[email protected]> Date: Thu Apr 27 23:25:15 2023 +0530 cpuset_regression_test.sh: Renamed the test function Fixes #1035 Signed-off-by: Mahesh Kumar G <[email protected]> Reviewed-by: Cyril Hrubis <[email protected]>
1 parent bd512e7 commit ddf65fd

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

testcases/kernel/connectors/pec/cn_pec.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
TST_OPTS="n:"
1313
TST_SETUP=setup
14-
TST_TESTFUNC=test
14+
TST_TESTFUNC=do_test
1515
TST_PARSE_ARGS=parse_args
1616
TST_USAGE=usage
1717
TST_NEEDS_ROOT=1
@@ -66,7 +66,7 @@ setup()
6666
tst_res TINFO "Test process events connector"
6767
}
6868

69-
test()
69+
do_test()
7070
{
7171
local event=$2
7272
local gen_pid list_pid gen_rc lis_rc

testcases/kernel/controllers/cgroup_fj/cgroup_fj_stress.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
TCID="cgroup_fj_stress"
99
TST_CNT=1
10-
TST_TESTFUNC=test
10+
TST_TESTFUNC=do_test
1111
TST_SETUP=setup
1212
TST_CLEANUP=cleanup
1313
TST_POS_ARGS=4
@@ -126,7 +126,7 @@ cleanup()
126126
common_cleanup
127127
}
128128

129-
test()
129+
do_test()
130130
{
131131
tst_res TINFO "Creating subgroups ..."
132132

testcases/kernel/controllers/memcg/functional/memcg_failcnt.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
# Restructure for LTP: Shi Weihua <[email protected]>
99
# Added memcg enable/disable functionality: Rishikesh K Rajak <[email protected]>
1010

11-
MEMCG_TESTFUNC=test
11+
MEMCG_TESTFUNC=do_test
1212
MEMCG_SHMMAX=1
1313
TST_TEST_DATA="--mmap-anon --mmap-file --shm"
1414

15-
test()
15+
do_test()
1616
{
1717
ROD echo $MEMORY_LIMIT \> memory.limit_in_bytes
1818

0 commit comments

Comments
 (0)