diff options
author | Martin Doucha <mdoucha@suse.cz> | 2020-04-15 14:41:57 +0200 |
---|---|---|
committer | Cyril Hrubis <chrubis@suse.cz> | 2020-05-04 16:20:04 +0200 |
commit | f119de425ae5e2f1191b75afc0826cc5542cfea9 (patch) | |
tree | 49a01d5d11f82d1f5ac9aa9bcecc2ea1102f738c /testcases | |
parent | 45289e4984d321d0c12c11c73e72b8bb5c2f65a9 (diff) |
Skip Btrfs in LVM stress tests
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>
Reviewed-by: Cyril Hrubis <chrubis@suse.cz>
Diffstat (limited to 'testcases')
-rwxr-xr-x | testcases/misc/lvm/generate_lvm_runfile.sh | 5 |
1 files changed, 4 insertions, 1 deletions
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" |