We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a540dd commit 58463abCopy full SHA for 58463ab
include/tests_filesystems
@@ -860,8 +860,8 @@
860
AVAILABLE_MODPROBE_FS=""
861
for FS in ${LIST_FS_NOT_SUPPORTED}; do
862
# Check if filesystem is present in modprobe output
863
- FIND=$(${MODPROBEBINARY} -v -n ${FS} 2>/dev/null | ${GREPBINARY} -E "/${FS}.ko" | ${TAILBINARY} -1)
864
- if [ -n "${FIND}" ]; then
+ FIND=$(${MODPROBEBINARY} -v -n ${FS} 2>/dev/null)
+ if [ $? -eq 0 ]; then
865
LogText "Result: found ${FS} support in the kernel (output = ${FIND})"
866
Debug "Module ${FS} present in the kernel"
867
LogText "Test: Checking if ${FS} is active"
0 commit comments