test-appliance: store the base fs type for overlay test run
PATCH 1/1 test-appliance: store the base fs type for overlay test run
The base fs is used by xfstests in several places, for example, to check if need to disable extent zeroing for underlying ext4 base fs.
Signed-off-by Amir Goldstein <[email protected]>
---
Ted,
This patch is complimentary to this change in fstests:
https://marc.info/?l=fstests&m=153539445716875&w=2
Thanks,
Amir.
kvm-xfstests/test-appliance/files/root/runtests.sh | 5 +++++ 1 file changed, 5 insertions(+)
kvm-xfstests/test-appliance/files/root/runtests.sh +5 -0
@@ -379,6 +379,11 @@ do echo TEST_SET_EXCLUDE: $TEST_SET_EXCLUDE echo TEST_SET_EXCLUDE: $XFS_IO_AVOID >> "$RESULT_BASE/config" fi + if [ "$FS" = overlay ]; then + # with an overlay configuration preserve base FSTYP + # in OVL_BASE_FSTYP + export OVL_BASE_FSTYP="$FSTESTTYP" + fi export FSTYP=$FS AEX="" if test -n "$DO_AEX" ; then
Signature · 1 line
2.7.4