1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00
lvm2/test/shell
David Teigland 17a255b8d5 commands: new method for defining commands
. Define a prototype for every lvm command.
. Match every user command with one definition.
. Generate help text and man pages from them.

The new file command-lines.in defines a prototype for every
unique lvm command.  A unique lvm command is a unique
combination of: command name + required option args +
required positional args.  Each of these prototypes also
includes the optional option args and optional positional
args that the command will accept, a description, and a
unique string ID for the definition.  Any valid command
will match one of the prototypes.

Here's an example of the lvresize command definitions from
command-lines.in, there are three unique lvresize commands:

lvresize --size SizeMB LV
OO: --alloc Alloc, --autobackup Bool, --force,
--nofsck, --nosync, --noudevsync, --reportformat String, --resizefs,
--stripes Number, --stripesize SizeKB, --poolmetadatasize SizeMB
OP: PV ...
ID: lvresize_by_size
DESC: Resize an LV by a specified size.

lvresize LV PV ...
OO: --alloc Alloc, --autobackup Bool, --force,
--nofsck, --nosync, --noudevsync,
--reportformat String, --resizefs, --stripes Number, --stripesize SizeKB
ID: lvresize_by_pv
DESC: Resize an LV by specified PV extents.
FLAGS: SECONDARY_SYNTAX

lvresize --poolmetadatasize SizeMB LV_thinpool
OO: --alloc Alloc, --autobackup Bool, --force,
--nofsck, --nosync, --noudevsync,
--reportformat String, --stripes Number, --stripesize SizeKB
OP: PV ...
ID: lvresize_pool_metadata_by_size
DESC: Resize a pool metadata SubLV by a specified size.

The three commands have separate definitions because they have
different required parameters.  Required parameters are specified
on the first line of the definition.  Optional options are
listed after OO, and optional positional args are listed after OP.

This data is used to generate corresponding command definition
structures for lvm in command-lines.h.  usage/help output is also
auto generated, so it is always in sync with the definitions.

Example of the corresponding generated structure in
command-lines.h for the first lvresize prototype
(these structures are never edited directly):

commands[83].name = "lvresize";
commands[83].command_line_id = "lvresize_by_size";
commands[83].command_line_enum = lvresize_by_size_CMD;
commands[83].fn = lvresize;
commands[83].ro_count = 1;
commands[83].rp_count = 1;
commands[83].oo_count = 22;
commands[83].op_count = 1;
commands[83].cmd_flags = 0;
commands[83].desc = "DESC: Resize an LV by a specified size.";
commands[83].usage = "lvresize --size Number[m|unit] LV"
" [ --resizefs, --poolmetadatasize Number[m|unit], COMMON_OPTIONS ]"
" [ PV ... ]";
commands[83].usage_common =
" [ --alloc contiguous|cling|cling_by_tags|normal|anywhere|inherit, --nosync, --reportformat String, --autobackup y|n, --stripes Number, --stripesize Number[k|unit], --nofsck, --commandprofile String, --config String, --debug, --driverloaded y|n, --help, --profile String, --quiet, --verbose, --version, --yes, --test, --force, --noudevsync ]";
commands[83].required_opt_args[0].opt = size_ARG;
commands[83].required_opt_args[0].def.val_bits = val_enum_to_bit(sizemb_VAL);
commands[83].required_pos_args[0].pos = 1;
commands[83].required_pos_args[0].def.val_bits = val_enum_to_bit(lv_VAL);
commands[83].optional_opt_args[0].opt = commandprofile_ARG;
commands[83].optional_opt_args[0].def.val_bits = val_enum_to_bit(string_VAL);
commands[83].optional_opt_args[1].opt = config_ARG;
commands[83].optional_opt_args[1].def.val_bits = val_enum_to_bit(string_VAL);
commands[83].optional_opt_args[2].opt = debug_ARG;
commands[83].optional_opt_args[3].opt = driverloaded_ARG;
commands[83].optional_opt_args[3].def.val_bits = val_enum_to_bit(bool_VAL);
commands[83].optional_opt_args[4].opt = help_ARG;
commands[83].optional_opt_args[5].opt = profile_ARG;
commands[83].optional_opt_args[5].def.val_bits = val_enum_to_bit(string_VAL);
commands[83].optional_opt_args[6].opt = quiet_ARG;
commands[83].optional_opt_args[7].opt = verbose_ARG;
commands[83].optional_opt_args[8].opt = version_ARG;
commands[83].optional_opt_args[9].opt = yes_ARG;
commands[83].optional_opt_args[10].opt = test_ARG;
commands[83].optional_opt_args[11].opt = alloc_ARG;
commands[83].optional_opt_args[11].def.val_bits = val_enum_to_bit(alloc_VAL);
commands[83].optional_opt_args[12].opt = autobackup_ARG;
commands[83].optional_opt_args[12].def.val_bits = val_enum_to_bit(bool_VAL);
commands[83].optional_opt_args[13].opt = force_ARG;
commands[83].optional_opt_args[14].opt = nofsck_ARG;
commands[83].optional_opt_args[15].opt = nosync_ARG;
commands[83].optional_opt_args[16].opt = noudevsync_ARG;
commands[83].optional_opt_args[17].opt = reportformat_ARG;
commands[83].optional_opt_args[17].def.val_bits = val_enum_to_bit(string_VAL);
commands[83].optional_opt_args[18].opt = resizefs_ARG;
commands[83].optional_opt_args[19].opt = stripes_ARG;
commands[83].optional_opt_args[19].def.val_bits = val_enum_to_bit(number_VAL);
commands[83].optional_opt_args[20].opt = stripesize_ARG;
commands[83].optional_opt_args[20].def.val_bits = val_enum_to_bit(sizekb_VAL);
commands[83].optional_opt_args[21].opt = poolmetadatasize_ARG;
commands[83].optional_opt_args[21].def.val_bits = val_enum_to_bit(sizemb_VAL);
commands[83].optional_pos_args[0].pos = 2;
commands[83].optional_pos_args[0].def.val_bits = val_enum_to_bit(pv_VAL);
commands[83].optional_pos_args[0].def.flags = ARG_DEF_FLAG_MAY_REPEAT;

Every user-entered command is compared against the set of
command structures, and matched with one.  An error is
reported if an entered command does not have the required
parameters for any definition.  The closest match is printed
as a suggestion, and running lvresize --help will display
the usage for each possible lvresize command.

The prototype syntax used for help/man output includes
required --option and positional args on the first line,
and optional --option and positional args enclosed in [ ]
on subsequent lines.

  command_name <required_opt_args> <required_pos_args>
          [ <optional_opt_args> ]
          [ <optional_pos_args> ]

$ lvresize --help
  lvresize - Resize a logical volume

  Resize an LV by a specified size.
  lvresize --size Number[m|unit] LV
        [ --resizefs,
          --poolmetadatasize Number[m|unit],
          COMMON_OPTIONS ]
        [ PV ... ]

  Resize a pool metadata SubLV by a specified size.
  lvresize --poolmetadatasize Number[m|unit] LV_thinpool
        [ COMMON_OPTIONS ]
        [ PV ... ]

  Common options:
        [ --alloc contiguous|cling|cling_by_tags|normal|anywhere|inherit,
          --nosync,
          --reportformat String,
          --autobackup y|n,
          --stripes Number,
          --stripesize Number[k|unit],
          --nofsck,
          --commandprofile String,
          --config String,
          --debug,
          --driverloaded y|n,
          --help,
          --profile String,
          --quiet,
          --verbose,
          --version,
          --yes,
          --test,
          --force,
          --noudevsync ]

  (Use --help --help for usage notes.)

$ lvresize --poolmetadatasize 4
  Failed to find a matching command definition.
  Closest command usage is:
  lvresize --poolmetadatasize Number[m|unit] LV_thinpool

Command definitions that are not to be advertised/suggested
have the flag SECONDARY_SYNTAX.  These commands will not be
printed in the normal help output.

Man page prototypes are also generated from the same original
command definitions, and are always in sync with the code
and help text.

Very early in command execution, a matching command definition
is found.  lvm then knows the operation being done, and that
the provided args conform to the definition.  This will allow
lots of ad hoc checking/validation to be removed throughout
the code.

Each command definition can also be routed to a specific
function to implement it.  The function is associated with
an enum value for the command definition (generated from
the ID string.)  These per-command-definition implementation
functions have not yet been created, so all commands
currently fall back to the existing per-command-name
implementation functions.

Using per-command-definition functions will allow lots of
code to be removed which tries to figure out what the
command is meant to do.  This is currently based on ad hoc
and complicated option analysis.  When using the new
functions, what the command is doing is already known
from the associated command definition.

So, this first phase validates every user-entered command
against the set of command prototypes, then calls the existing
implementation.  The second phase can associate an implementation
function with each definition, and take further advantage of the
known operation to avoid the complicated option analysis.
2016-11-03 15:02:55 -05:00
..
000-basic.sh tests: add basic dmstats tests 2016-02-25 16:40:58 +00:00
aa-lvmlockd-dlm-prepare.sh tests: updates for check_lvmlockd 2016-02-23 14:00:28 -06:00
aa-lvmlockd-sanlock-prepare.sh tests: updates for check_lvmlockd 2016-02-23 14:00:28 -06:00
activate-minor.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
activate-missing-segment.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
activate-missing.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
activate-partial.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
activation-skip.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
backup-read-only.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
clvmd-restart.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
covercmd.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
discards-thin.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
dmeventd-restart.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
dmstats-create.sh test: skip unrelated tests while testing lvmpolld 2016-03-09 12:59:45 +01:00
dmstats-report.sh test: skip unrelated tests while testing lvmpolld 2016-03-09 12:59:45 +01:00
dumpconfig.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
error-usage.sh tests: drop check for md5sum 2016-03-03 10:17:03 +01:00
format-lvm1.sh test: skip unrelated tests while testing lvmpolld 2016-03-09 12:59:45 +01:00
fsadm.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
inconsistent-metadata.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
listings.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
lock-blocking.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
lock-parallel.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
losetup-partscan.sh tests: rename test _ -> - 2016-09-09 20:59:21 +02:00
lv-ancestry.sh test: skip unrelated tests while testing lvmpolld 2016-03-09 12:59:45 +01:00
lvchange-cache-mode.sh tests: require better cache driver 2016-07-15 15:49:01 +02:00
lvchange-cache-old.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
lvchange-cache-syncaction-raid.sh tests: move cache test to separate file 2016-09-12 16:49:51 +02:00
lvchange-cache.sh tests: skip more cache tests for older driver 2016-07-13 21:52:14 +02:00
lvchange-mirror.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
lvchange-partial-raid10.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
lvchange-partial.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
lvchange-raid10.sh doc: change fsf address 2016-01-21 12:11:37 +01:00
lvchange-raid456.sh doc: change fsf address 2016-01-21 12:11:37 +01:00
lvchange-raid.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
lvchange-rebuild-raid.sh tests: fix raid rebuild tests to work with older target versions 2016-09-22 23:35:37 +02:00
lvchange-syncaction-raid.sh tests: move cache test to separate file 2016-09-12 16:49:51 +02:00
lvchange-thin.sh tests: check for TRIM support 2016-09-22 15:37:52 +02:00
lvconvert-cache-chunks.sh tests: skip test for older cache target 2016-08-31 11:13:59 +02:00
lvconvert-cache-raid.sh tests: raid repair needs devices in-sync 2016-09-22 15:46:18 +02:00
lvconvert-cache-smq.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
lvconvert-cache-thin.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
lvconvert-cache.sh tests: adapt for new cache-pool zeroing 2016-07-27 16:20:57 +02:00
lvconvert-mirror-basic-0.sh doc: change fsf address 2016-01-21 12:11:37 +01:00
lvconvert-mirror-basic-1.sh doc: change fsf address 2016-01-21 12:11:37 +01:00
lvconvert-mirror-basic-2.sh doc: change fsf address 2016-01-21 12:11:37 +01:00
lvconvert-mirror-basic-3.sh doc: change fsf address 2016-01-21 12:11:37 +01:00
lvconvert-mirror-basic.sh test: Drop --mirrorlog when not a mirror. 2016-08-08 18:43:54 +01:00
lvconvert-mirror-updown.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
lvconvert-mirror.sh lvconvert: rework routing of operations 2016-06-29 16:55:27 -05:00
lvconvert-raid10.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
lvconvert-raid456.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
lvconvert-raid-allocation.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
lvconvert-raid-takeover.sh tests: use exclusive activation 2016-09-12 16:51:53 +02:00
lvconvert-raid.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
lvconvert-repair-cache.sh tests: adapt for new cache-pool zeroing 2016-07-27 16:20:57 +02:00
lvconvert-repair-dmeventd.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
lvconvert-repair-mirror.sh tests: use mkfs.ext3 2016-04-07 22:32:09 +02:00
lvconvert-repair-policy.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
lvconvert-repair-raid-dmeventd.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
lvconvert-repair-raid.sh lvconvert: fix (automatic) raid repair regression 2016-09-21 00:39:29 +02:00
lvconvert-repair-replace.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
lvconvert-repair-snapshot.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
lvconvert-repair-thin-raid.sh tests: check for thin tools 2016-05-05 23:55:20 +02:00
lvconvert-repair-thin.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
lvconvert-repair-transient-dmeventd.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
lvconvert-repair-transient.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
lvconvert-repair.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
lvconvert-snapshot.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
lvconvert-thin-external.sh tests: check we don't warn when converting to thin LV 2016-07-27 16:20:57 +02:00
lvconvert-thin-raid.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
lvconvert-thin.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
lvconvert-twostep.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
lvcreate-cache-fail.sh tests: check fail path on cache creation 2016-07-15 15:49:01 +02:00
lvcreate-cache-raid.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
lvcreate-cache.sh commands: new method for defining commands 2016-11-03 15:02:55 -05:00
lvcreate-large-raid10.sh test: fix/enhance lvcreate-large-raid*.sh 2016-08-09 18:16:01 +02:00
lvcreate-large-raid.sh tests: use just single raid_leg_status 2016-09-13 12:25:36 +02:00
lvcreate-large.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
lvcreate-mirror.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
lvcreate-missing.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
lvcreate-operation.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
lvcreate-pvtags.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
lvcreate-raid10.sh tests: updates for new raid allocation logic 2016-07-28 16:37:20 +02:00
lvcreate-raid-nosync.sh tests: slightly bigger raid arrays 2016-09-13 12:25:36 +02:00
lvcreate-raid.sh tests: updates for new raid allocation logic 2016-07-28 16:37:20 +02:00
lvcreate-repair.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
lvcreate-signature-wiping.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
lvcreate-small-snap.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
lvcreate-striped-mirror.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
lvcreate-thin-big.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
lvcreate-thin-external-size.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
lvcreate-thin-external.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
lvcreate-thin-power2.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
lvcreate-thin-snap.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
lvcreate-thin.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
lvcreate-usage.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
lvextend-percent-extents.sh tests: update test for modified output 2016-06-24 00:39:15 +02:00
lvextend-snapshot-dmeventd.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
lvextend-snapshot-policy.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
lvextend-thin-data-dmeventd.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
lvextend-thin-full.sh tests: aux prepare_thin_metadata 2016-06-23 14:59:29 +02:00
lvextend-thin-metadata-dmeventd.sh tests: check for metadata test working properly 2016-09-19 14:00:56 +02:00
lvextend-thin-raid.sh tests: check thin resize of raid10 2016-07-22 14:41:47 +02:00
lvextend-thin.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
lvm1-basic.sh test: update lvm1 test 2016-04-19 11:45:19 -05:00
lvm-init.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
lvmcache-exercise.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
lvmetad-ambiguous.sh test: lvmetad-ambiguous 2016-05-06 09:00:00 -05:00
lvmetad-autoshutdown.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
lvmetad-client-filter.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
lvmetad-disabled.sh test: lvmetad-disabled 2016-05-23 12:01:11 -05:00
lvmetad-dump.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
lvmetad-lvscan-cache.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
lvmetad-no-cluster.sh test: lvmetad-no-cluster 2016-04-19 11:45:24 -05:00
lvmetad-override.sh test: lvmetad-override 2016-04-19 14:26:05 -05:00
lvmetad-pvs.sh test: fix inverted condition 2016-03-09 12:59:42 +01:00
lvmetad-pvscan-autoactivation-polling.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
lvmetad-pvscan-cache.sh tests: check [unknown] in lvmetad-pvscan-cache 2016-02-29 12:43:07 -06:00
lvmetad-pvscan-filter.sh test: lvmetad-pvscan-filter 2016-05-23 12:00:25 -05:00
lvmetad-pvscan-md.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
lvmetad-pvscan-nomda-bg.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
lvmetad-pvscan-nomda.sh pvscan: use process_each_vg for autoactivate 2016-05-23 11:57:32 -05:00
lvmetad-restart.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
lvmetad-sysinit.sh test: lvmetad-warning 2016-04-19 11:45:24 -05:00
lvmetad-test.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
lvmlockd-hello-world.sh tests: updates for check_lvmlockd 2016-02-23 14:00:28 -06:00
lvmlockd-lv-types.sh test: add make check_lvmlockd_test 2016-02-22 09:36:35 -06:00
lvrename-cache-thin.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
lvresize-full.sh tests: resize of filesystem 2016-07-13 21:52:14 +02:00
lvresize-mirror.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
lvresize-raid10.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
lvresize-raid.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
lvresize-rounding.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
lvresize-thin-external-origin.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
lvresize-thin-metadata.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
lvresize-usage.sh tests: lvresize with zero arg 2016-02-25 23:30:26 +01:00
lvs-cache.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
mda-rollback.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
mdata-strings.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
metadata-balance.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
metadata-dirs.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
metadata.sh tests: direct control of lvm1 usage in tests 2016-03-03 14:43:19 -06:00
mirror-names.sh tests: make test independent on usage [] for hidden LVs 2016-04-22 12:53:09 +02:00
mirror-vgreduce-removemissing.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
name-mangling.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
nomda-missing.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
nomda-restoremissing.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
orphan-ondisk.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
pool-labels.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
process-each-duplicate-pvs.sh test: process-each-duplicate-pvs 2016-05-11 09:35:42 -05:00
process-each-duplicate-vgnames.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
process-each-lv.sh doc: change fsf address 2016-01-21 12:11:37 +01:00
process-each-pv-nomda-all.sh doc: change fsf address 2016-01-21 12:11:37 +01:00
process-each-pv-nomda.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
process-each-pv.sh doc: change fsf address 2016-01-21 12:11:37 +01:00
process-each-pvresize.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
process-each-vg.sh test: skip unrelated tests while testing lvmpolld 2016-03-09 12:59:45 +01:00
process-each-vgreduce.sh test: skip unrelated tests while testing lvmpolld 2016-03-09 12:59:45 +01:00
profiles-thin.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
profiles.sh tests: also fix typo in report/columns_as_rows in tests 2016-08-25 16:25:23 +02:00
pv-check-dev-size.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
pv-duplicate-uuid.sh test: pv-duplicate-uuid 2016-05-06 09:00:00 -05:00
pv-duplicate.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
pv-ext-flags.sh Use a common message for a used PV 2016-02-25 14:23:41 -06:00
pv-ext-update.sh tests: add pv-ext-update.sh test 2016-07-27 12:17:21 +02:00
pv-min-size.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
pv-range-overflow.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
pvchange-usage.sh tests: direct control of lvm1 usage in tests 2016-03-03 14:43:19 -06:00
pvcreate-bootloaderarea.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
pvcreate-ff.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
pvcreate-metadata0.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
pvcreate-operation-md.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
pvcreate-operation.sh tests: direct control of lvm1 usage in tests 2016-03-03 14:43:19 -06:00
pvcreate-restore.sh test: skip unrelated tests while testing lvmpolld 2016-03-09 12:59:45 +01:00
pvcreate-usage.sh tests: direct control of lvm1 usage in tests 2016-03-03 14:43:19 -06:00
pvmove-abort-all.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
pvmove-abort.sh tests: make test independent on usage [] for hidden LVs 2016-04-22 12:53:09 +02:00
pvmove-all-segtypes.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
pvmove-background.sh tests: minor update 2016-04-21 00:34:01 +02:00
pvmove-basic.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
pvmove-cache-segtypes.sh tests: adapt for new cache-pool zeroing 2016-07-27 16:20:57 +02:00
pvmove-raid-segtypes.sh pvmove: fix regression introduced with 8e9d5d12ae 2016-08-15 19:31:04 +02:00
pvmove-restart.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
pvmove-resume-1.sh tests: make test independent on usage [] for hidden LVs 2016-04-22 12:53:09 +02:00
pvmove-resume-2.sh tests: make test independent on usage [] for hidden LVs 2016-04-22 12:53:09 +02:00
pvmove-resume-multiseg.sh tests: drop cluster testing with pvmove 2016-04-22 14:15:36 +02:00
pvmove-thin-segtypes.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
pvremove-thin.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
pvremove-usage.sh Use a common message for a used PV 2016-02-25 14:23:41 -06:00
pvremove-warnings.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
pvresize-mdas.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
read-ahead.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
report-fields.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
report-hidden.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
select-report.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
select-tools-thin.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
select-tools.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
snapshot-autoumount-dmeventd.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
snapshot-cluster.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
snapshot-lvm1.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
snapshot-maxsize.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
snapshot-merge-stack.sh tests: stacked snapshot merge 2016-05-27 15:47:24 +02:00
snapshot-merge.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
snapshot-reactivate.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
snapshot-remove-dmsetup.sh tests: proper wait usage 2016-10-03 17:49:56 +02:00
snapshot-rename.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
snapshot-usage-exa.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
snapshot-usage.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
snapshots-of-mirrors.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
stray-device-node.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
system_id.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
tags.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
test-partition.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
thin-autoumount-dmeventd.sh tests: using mkfs config file 2016-07-04 17:41:10 +02:00
thin-defaults.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
thin-flags.sh tests: smaller number of devs created to fill metadata 2016-06-24 00:39:14 +02:00
thin-foreign-dmeventd.sh tests: using mkfs config file 2016-07-04 17:41:10 +02:00
thin-merge.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
thin-overprovisioning.sh thin: fix link validation for unused thin-pool 2016-07-01 00:44:46 +02:00
thin-resize-match.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
thin-restore.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
thin-vglock.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
thin-volume-list.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
topology-support.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
unknown-segment.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
unlost-pv.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
vg-check-devs-used.sh tests: vg-check-devs-used requires driver version 4.15 at least 2016-03-31 10:38:05 +02:00
vg-name-from-env.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
vgcfgbackup-lvm1.sh test: vgcfgbackup-lvm1 2016-05-06 09:00:00 -05:00
vgcfgbackup-usage.sh test: vgcfgbackup-usage 2016-05-06 09:00:00 -05:00
vgchange-many.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
vgchange-maxlv.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
vgchange-partial.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
vgchange-sysinit.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
vgchange-usage.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
vgck.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
vgcreate-many-pvs.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
vgcreate-usage.sh tests: direct control of lvm1 usage in tests 2016-03-03 14:43:19 -06:00
vgextend-restoremissing.sh commands: new method for defining commands 2016-11-03 15:02:55 -05:00
vgextend-usage.sh tests: direct control of lvm1 usage in tests 2016-03-03 14:43:19 -06:00
vgimportclone.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
vgmerge-operation.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
vgmerge-usage.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
vgreduce-removemissing-snapshot.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
vgreduce-usage.sh tests: direct control of lvm1 usage in tests 2016-03-03 14:43:19 -06:00
vgremove-corrupt-vg.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
vgrename-usage.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
vgsplit-operation.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
vgsplit-raid.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
vgsplit-stacked.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
vgsplit-thin.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
vgsplit-usage.sh test: vgsplit-usage 2016-05-06 09:00:00 -05:00
zero-usage.sh tests: add SKIP_WITH_LVMLOCKD 2016-02-23 09:28:48 -06:00
zz-lvmlockd-dlm-remove.sh tests: fix clean up after lvmlockd tests 2016-02-22 14:15:17 -06:00
zz-lvmlockd-sanlock-remove.sh tests: fix clean up after lvmlockd tests 2016-02-22 14:15:17 -06:00