Skip to content

LVM support scripts for OpenQA

Martin Doucha ltp 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest3 patches 0 repliesNew
  2. v53 patches 0 repliesSuperseded

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Allow acquiring multiple loop devicesinclude/old/old_device.h lib/tst_device.c testcases/lib/tst_device.c+46 -190 replies
2/3Add LVM support scriptstestcases/misc/lvm/Makefile testcases/misc/lvm/cleanup_lvm.sh testcases/misc/lvm/datafiles/Makefile +4 more+215 -00 replies
3/3Skip Btrfs in LVM stress teststestcases/misc/lvm/generate_lvm_runfile.sh+4 -11 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v6 yet.

Read the v6 thread

Cover letter [LTP] [PATCH v6 0/3] LVM support scripts for OpenQA

The old support script for LVM tests (testscripts/ltpfslvm.sh) doesn't work very well with external testing tools so LVM tests currently cannot be run in OpenQA. Create new LVM support scripts that focus exclusively on setup and cleanup. One of the scripts also generates a new LVM runfile that'll test only file systems supported by the test machine.

Martin Doucha (3):
Allow acquiring multiple loop devices
Add LVM support scripts
Skip Btrfs in LVM stress tests

 include/old/old_device.h                   | 15 +++-
 lib/tst_device.c                           | 36 ++++++----
 testcases/lib/tst_device.c                 | 14 ++--
 testcases/misc/lvm/Makefile                |  9 +++
 testcases/misc/lvm/cleanup_lvm.sh          | 34 +++++++++
 testcases/misc/lvm/datafiles/Makefile      |  8 +++
 testcases/misc/lvm/datafiles/runfile.tpl   | 36 ++++++++++
 testcases/misc/lvm/generate_lvm_runfile.sh | 30 ++++++++
 testcases/misc/lvm/prepare_lvm.sh          | 83 ++++++++++++++++++++++
 testscripts/lvmtest.sh                     | 18 +++++
 10 files changed, 264 insertions(+), 19 deletions(-)
 create mode 100644 testcases/misc/lvm/Makefile
 create mode 100755 testcases/misc/lvm/cleanup_lvm.sh
 create mode 100644 testcases/misc/lvm/datafiles/Makefile
 create mode 100644 testcases/misc/lvm/datafiles/runfile.tpl
 create mode 100755 testcases/misc/lvm/generate_lvm_runfile.sh
 create mode 100755 testcases/misc/lvm/prepare_lvm.sh
 create mode 100755 testscripts/lvmtest.sh
Signature · 1 line
2.26.0