Skip to content

LVM support scripts for OpenQA

Martin Doucha ltp 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Fix releasing loop devices in shell APIinclude/old/old_device.h testcases/lib/tst_device.c+13 -11 reply
2/3Allow acquiring multiple loop devicesinclude/old/old_device.h lib/tst_device.c testcases/lib/tst_device.c+46 -196 replies
3/3Add LVM support scriptstestcases/misc/lvm/Makefile testcases/misc/lvm/cleanup_lvm.sh testcases/misc/lvm/datafiles/Makefile +3 more+247 -05 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchPetr Vorel
1/3
2/3R-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [LTP] [PATCH 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):
Fix releasing loop devices in shell API
Allow acquiring multiple loop devices
Add LVM support scripts

 include/old/old_device.h                 |  19 +++++
 lib/tst_device.c                         |  36 +++++---
 testcases/lib/tst_device.c               |  20 +++--
 testcases/misc/lvm/Makefile              |  29 +++++++
 testcases/misc/lvm/cleanup_lvm.sh        |  34 ++++++++
 testcases/misc/lvm/datafiles/Makefile    |  19 +++++
 testcases/misc/lvm/datafiles/runfile.tpl |  36 ++++++++
 testcases/misc/lvm/generate_runfile.sh   |  27 ++++++
 testcases/misc/lvm/prepare_lvm.sh        | 102 +++++++++++++++++++++++
 9 files changed, 304 insertions(+), 18 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_runfile.sh
 create mode 100755 testcases/misc/lvm/prepare_lvm.sh
Signature · 1 line
2.24.1