[LTP] [PATCH v5 3/3] Skip Btrfs in LVM stress tests
Martin Doucha
mdoucha@suse.cz
Tue Apr 14 10:59:34 CEST 2020
Delayed file deletion makes stress testing Btrfs on small block devices
difficult. Each test case would require explicit FS cleanup synchronization.
Drop Btrfs tests from LVM runfile for now.
Signed-off-by: Martin Doucha <mdoucha@suse.cz>
---
Changes since v3: New patch.
Changes since v4: Rebase only.
testcases/misc/lvm/generate_lvm_runfile.sh | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/testcases/misc/lvm/generate_lvm_runfile.sh b/testcases/misc/lvm/generate_lvm_runfile.sh
index b5e979e6b..5ca035f22 100755
--- a/testcases/misc/lvm/generate_lvm_runfile.sh
+++ b/testcases/misc/lvm/generate_lvm_runfile.sh
@@ -18,7 +18,10 @@ generate_runfile()
echo -n "" >"$OUTFILE"
for fsname in $FS_LIST; do
- sed -e "s/{fsname}/$fsname/g" "$INFILE" >>"$OUTFILE"
+ # Btrfs needs too much space for reliable stress testing
+ if [ "x$fsname" != "xbtrfs" ]; then
+ sed -e "s/{fsname}/$fsname/g" "$INFILE" >>"$OUTFILE"
+ fi
done
tst_res TPASS "Runfile $OUTFILE successfully created"
--
2.26.0
More information about the ltp
mailing list