testsuite/mount.tests: fix false positive
[oweals/busybox.git] / testsuite / mount.tests
index a0bc50888693bdc9abe83e02d9e95a01bd97aa04..91c2e8b42aa03270842df6b63381e2d6c139968a 100755 (executable)
@@ -10,9 +10,11 @@ test "`id -u`" = 0 || {
        exit 0
 }
 
+# Without MOUNT_LOOP_CREATE, the test will fail if /dev/loopN's do not exist
 if test x"$CONFIG_MKFS_MINIX" != x"y" \
 || test x"$CONFIG_FEATURE_MINIX2" != x"y" \
 || test x"$CONFIG_FEATURE_MOUNT_LOOP" != x"y" \
+|| test x"$CONFIG_FEATURE_MOUNT_LOOP_CREATE" != x"y" \
 || test x"$CONFIG_FEATURE_MOUNT_FLAGS" != x"y" \
 || test x"$CONFIG_FEATURE_DEVFS" = x"y" \
 ; then