* [PATCH] test-appliance: store the base fs type for overlay test run
@ 2018-08-27 18:39 Amir Goldstein
0 siblings, 0 replies; only message in thread
From: Amir Goldstein @ 2018-08-27 18:39 UTC (permalink / raw)
To: Theodore Ts'o; +Cc: Eryu Guan, fstests, linux-unionfs
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 <amir73il@gmail.com>
---
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(+)
diff --git a/kvm-xfstests/test-appliance/files/root/runtests.sh b/kvm-xfstests/test-appliance/files/root/runtests.sh
index 1905493..5430dd7 100755
--- a/kvm-xfstests/test-appliance/files/root/runtests.sh
+++ b/kvm-xfstests/test-appliance/files/root/runtests.sh
@@ -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
--
2.7.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2018-08-27 22:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-27 18:39 [PATCH] test-appliance: store the base fs type for overlay test run Amir Goldstein
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox