]> sourceware.org Git - lvm2.git/commit
tests: select-tools.sh: pvchange now uses process_each_pv
authorPeter Rajnoha <prajnoha@redhat.com>
Fri, 13 Feb 2015 09:52:36 +0000 (10:52 +0100)
committerPeter Rajnoha <prajnoha@redhat.com>
Fri, 13 Feb 2015 10:27:09 +0000 (11:27 +0100)
commit1c005b557a4b4d282d853e2437536f244bbf72b2
treed6718a6a6a3e2d87cc50d8a6e4b490ac885d641b
parent969d2bf4484810e1c3d402a45cb433b3bee19191
tests: select-tools.sh: pvchange now uses process_each_pv

pvchange now uses process_each_pv so uncomment parts of the test
which check proper functionality of intersection between selection
result and PVs or PV tags directly provided on command line. This
didn't work properly before when pvchange was not using process_each_pv.

For example:

  pvchange -u -S 'pv_name=/dev/sda' /dev/sdb

..changes nothing since clearly the intersection of /dev/sda and
/dev/sdb is empty set. The same applies for tags:

  pvchange -u -S 'pv_name=/dev/sda' @some_tag

..changes nothing if /dev/sda is not tagged with some_tag.
test/shell/select-tools.sh
This page took 0.036768 seconds and 5 git commands to generate.