mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
tests: faster creation of 200 PVs
Use already existing optmized aux version
This commit is contained in:
parent
80899f7010
commit
19df4510c2
@ -20,11 +20,7 @@ prlimit -h || skip
|
|||||||
|
|
||||||
aux lvmconf 'devices/pv_min_size = 1024'
|
aux lvmconf 'devices/pv_min_size = 1024'
|
||||||
|
|
||||||
aux prepare_devs 200 1
|
aux prepare_pvs 200 1
|
||||||
|
|
||||||
for i in $(seq 1 200); do
|
|
||||||
pvcreate "$DM_DEV_DIR/mapper/${PREFIX}pv$i"
|
|
||||||
done
|
|
||||||
|
|
||||||
pvs > out
|
pvs > out
|
||||||
test "$(grep -c pv out)" -eq 200
|
test "$(grep -c pv out)" -eq 200
|
||||||
|
Loading…
Reference in New Issue
Block a user