From: Martin Doucha <mdoucha@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH v4 4/4] Skip Btrfs in LVM stress tests
Date: Wed, 19 Feb 2020 10:37:06 +0100 [thread overview]
Message-ID: <20200219093706.9043-2-mdoucha@suse.cz> (raw)
In-Reply-To: <20200219093706.9043-1-mdoucha@suse.cz>
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.
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.25.0
prev parent reply other threads:[~2020-02-19 9:37 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-29 14:49 [LTP] [PATCH 0/3] LVM support scripts for OpenQA Martin Doucha
2020-01-29 14:49 ` [LTP] [PATCH 1/3] Fix releasing loop devices in shell API Martin Doucha
2020-02-03 15:05 ` Petr Vorel
2020-01-29 14:49 ` [LTP] [PATCH 2/3] Allow acquiring multiple loop devices Martin Doucha
2020-02-03 15:24 ` Petr Vorel
2020-02-07 16:45 ` Cyril Hrubis
2020-02-07 17:07 ` Petr Vorel
2020-02-07 17:11 ` Cyril Hrubis
2020-02-10 15:48 ` Petr Vorel
2020-02-07 16:49 ` Cyril Hrubis
2020-01-29 14:49 ` [LTP] [PATCH 3/3] Add LVM support scripts Martin Doucha
2020-01-30 12:36 ` [LTP] [PATCH v2 " Martin Doucha
2020-01-30 14:41 ` [LTP] [PATCH v3 " Martin Doucha
2020-01-30 15:30 ` Petr Vorel
2020-02-19 9:37 ` [LTP] [PATCH v4 3/4] " Martin Doucha
2020-02-19 9:37 ` Martin Doucha [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200219093706.9043-2-mdoucha@suse.cz \
--to=mdoucha@suse.cz \
--cc=ltp@lists.linux.it \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox