lkl: tests: skip fuse tests based on autoconf

fuse tests are skipped if lklfuse is not found, assuming that fuse was
not enabled. Be more strict and check the host autoconf instead.

Signed-off-by: Octavian Purdila <tavip@google.com>
This commit is contained in:
Octavian Purdila
2025-11-13 09:09:55 +00:00
parent d3d0f61997
commit 13ca823e8b

View File

@@ -98,7 +98,7 @@ if [ -z "$fstype" ]; then
fstype="ext4" fstype="ext4"
fi fi
if ! [ -x $script_dir/../lklfuse ]; then if [ "$LKL_HOST_CONFIG_FUSE" != "y" ]; then
lkl_test_plan 0 "lklfuse.sh $fstype" lkl_test_plan 0 "lklfuse.sh $fstype"
echo "lklfuse not available" echo "lklfuse not available"
exit 0 exit 0