1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00
lvm2/test
David Teigland f1d8c01dff vgimportdevices: change result when devices are not added
When using --all, if one VG is skipped, continue adding
other VGs, and do not return an error from the command
if some VGs are added. (A VG is skipped if it's missing PVs.)

If the command fails during devices file setup or device
scanning, then remove the devices file if it has been
newly created by the command, and exit with an error.

If devices from a named VG are not imported (e.g. the
VG is missing devices), then remove the devices file if
it has been newly created by the command, and exit with
an error.

If --all VGs are being imported, and no devices are found
to include in the devices file, then remove the devices
file if it has been newly created by the command, and
exit with an error.
2022-11-28 17:11:21 +01:00
..
api shellcheck: updates 2021-04-23 23:00:55 +02:00
dbus tests: test_pv_symlinks works only with /dev dir 2021-03-28 00:21:38 +01:00
lib cov: ignoring 2021-09-27 18:56:14 +02:00
shell vgimportdevices: change result when devices are not added 2022-11-28 17:11:21 +01:00
unit cov: ignore close result 2021-10-15 23:40:29 +02:00
.gitignore test: add results/ to .gitignore 2016-12-10 18:00:25 +00:00
Makefile.in vdo: Rename vdoimport to lvm_import_vdo. 2021-08-26 17:13:59 +02:00