diff --git a/include/tests_kernel b/include/tests_kernel index c77535ad..cc7c64a2 100644 --- a/include/tests_kernel +++ b/include/tests_kernel @@ -207,7 +207,7 @@ Register --test-no KRNL-5726 --os Linux --weight L --network NO --description "Checking Linux loaded kernel modules" if [ ${SKIPTEST} -eq 0 ]; then if [ ! "${LSMODBINARY}" = "" -a -f /proc/modules ]; then - FIND=`lsmod | awk '{ if ($1!="Module") print $1 }' | sort` + FIND=`${LSMODBINARY} | awk '{ if ($1!="Module") print $1 }' | sort` Display --indent 2 --text "- Checking loaded kernel modules" --result DONE --color GREEN if [ ! "${FIND}" = "" ]; then LogText "Loaded modules according lsmod:"