File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed
automated/linux/rcutorture Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -5,17 +5,15 @@ OUTPUT="${TEST_DIR}/output"
5
5
RESULT_FILE=" ${OUTPUT} /result.txt"
6
6
export RESULT_FILE
7
7
LOGFILE=" ${OUTPUT} /dmesg-rcutorture.txt"
8
- SKIP_INSTALL=" false"
9
8
TORTURE_TIME=" 600"
10
9
11
10
usage () {
12
- echo " Usage: $0 [-s <skip_install>] [- t <rcutorture_time>]" 1>&2
11
+ echo " Usage: $0 [-t <rcutorture_time>]" 1>&2
13
12
exit 1
14
13
}
15
14
16
- while getopts ' :s: t:' opt; do
15
+ while getopts ' :t:' opt; do
17
16
case " ${opt} " in
18
- s) SKIP_INSTALL=" ${OPTARG} " ;;
19
17
t) TORTURE_TIME=" ${OPTARG} " ;;
20
18
* ) usage ;;
21
19
esac
25
23
. " ${TEST_DIR} /../../lib/sh-test-lib"
26
24
27
25
! check_root && error_msg " Please run this script as root."
28
- install_deps " gzip" " ${SKIP_INSTALL} "
29
26
create_out_dir " ${OUTPUT} "
30
27
31
28
# Insert rcutoruture kernel module.
Original file line number Diff line number Diff line change @@ -27,11 +27,10 @@ metadata:
27
27
- functional
28
28
29
29
params :
30
- SKIP_INSTALL : " false"
31
30
TORTURE_TIME : 600
32
31
33
32
run :
34
33
steps :
35
34
- cd automated/linux/rcutorture
36
- - ./rcutorture.sh -s "${SKIP_INSTALL}" - t "${TORTURE_TIME}"
35
+ - ./rcutorture.sh -t "${TORTURE_TIME}"
37
36
- ../../utils/send-to-lava.sh ./output/result.txt
You can’t perform that action at this time.
0 commit comments