Skip to content

Commit 1479bf1

Browse files
roxellnareshkamboju
authored andcommitted
automated: linux: rcutorture: drop config checking
No need to check for fragments since it can be built into the kernel and then run on boot. If the module is built into the kernel and no output is showing up, the dmesg buffer might have been overwritten and then the buffer size can be changed by adding 'log_buf_len=5M' to the kernel cmdline. Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
1 parent 2a8fd12 commit 1479bf1

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

automated/linux/rcutorture/rcutorture.sh

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,6 @@ done
2828
install_deps "gzip" "${SKIP_INSTALL}"
2929
create_out_dir "${OUTPUT}"
3030

31-
# Check kernel config.
32-
if [ -f "/proc/config.gz" ]; then
33-
test_cmd="gunzip -c /proc/config.gz | grep CONFIG_RCU_TORTURE_TEST=m"
34-
elif [ -f "/boot/config-$(uname -r)" ]; then
35-
test_cmd="grep CONFIG_RCU_TORTURE_TEST=m /boot/config-$(uname -r)"
36-
fi
37-
if [ -n "${test_cmd}" ]; then
38-
tc_id="check-kernel-config"
39-
skip_list="modprobe-rcutorture rctorture-start rmmod-rcutorture rcutorture-end"
40-
run_test_case "${test_cmd}" "${tc_id}" "${skip_list}"
41-
fi
42-
4331
# Insert rcutoruture kernel module.
4432
dmesg -c > /dev/null
4533
if lsmod | grep rcutorture; then

0 commit comments

Comments
 (0)