Skip to content

Commit

Permalink
automated: linux: rcutorture: drop SKIP_INSTALL
Browse files Browse the repository at this point in the history
No need to have the install step since gunzip isn't used anymore.

Signed-off-by: Anders Roxell <[email protected]>
  • Loading branch information
roxell committed Aug 1, 2023
1 parent a59a3e8 commit 0ea95c8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
7 changes: 2 additions & 5 deletions automated/linux/rcutorture/rcutorture.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,15 @@ OUTPUT="${TEST_DIR}/output"
RESULT_FILE="${OUTPUT}/result.txt"
export RESULT_FILE
LOGFILE="${OUTPUT}/dmesg-rcutorture.txt"
SKIP_INSTALL="false"
TORTURE_TIME="600"

usage() {
echo "Usage: $0 [-s <skip_install>] [-t <rcutorture_time>]" 1>&2
echo "Usage: $0 [-t <rcutorture_time>]" 1>&2
exit 1
}

while getopts ':s:t:' opt; do
while getopts ':t:' opt; do
case "${opt}" in
s) SKIP_INSTALL="${OPTARG}" ;;
t) TORTURE_TIME="${OPTARG}" ;;
*) usage ;;
esac
Expand All @@ -25,7 +23,6 @@ done
. "${TEST_DIR}/../../lib/sh-test-lib"

! check_root && error_msg "Please run this script as root."
install_deps "gzip" "${SKIP_INSTALL}"
create_out_dir "${OUTPUT}"

# Insert rcutoruture kernel module.
Expand Down
3 changes: 1 addition & 2 deletions automated/linux/rcutorture/rcutorture.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,10 @@ metadata:
- functional

params:
SKIP_INSTALL: "false"
TORTURE_TIME: 600

run:
steps:
- cd automated/linux/rcutorture
- ./rcutorture.sh -s "${SKIP_INSTALL}" -t "${TORTURE_TIME}"
- ./rcutorture.sh -t "${TORTURE_TIME}"
- ../../utils/send-to-lava.sh ./output/result.txt

0 comments on commit 0ea95c8

Please sign in to comment.