]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
overlay/081: fix test when running with index enabled
authorAmir Goldstein <amir73il@gmail.com>
Sun, 17 Dec 2023 15:00:17 +0000 (17:00 +0200)
committerZorro Lang <zlang@kernel.org>
Sat, 23 Dec 2023 18:56:50 +0000 (02:56 +0800)
commit314f38ef20eddb2d80f68b89a8dc1cc7c3abde4d
treeea58b5e2e6380541b49809f2b37e592bfac08112
parentabc57c0daaf62c4f106d2e3852564d82adc185ec
overlay/081: fix test when running with index enabled

Test overlay/081 fails with:
 CONFIG_OVERLAY_FS_INDEX=y
or
 echo Y > /sys/modules/overlay/params/index

The reason is that mount option uuid=off has the undesired side effect
of disabling index feature.

uuid=null is exactly the same as uuid=off for the purpose of this test
but without the undesired side effect.

The test was created to test the new modes uuid=null/auto/on, so the
fact that is is testing the mode uuid=off is just an oversight.

Covert the use of uuid=off to uuid=null to fix this problem.

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/overlay/081