mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +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 prepare_devs 200 1
|
||||
|
||||
for i in $(seq 1 200); do
|
||||
pvcreate "$DM_DEV_DIR/mapper/${PREFIX}pv$i"
|
||||
done
|
||||
aux prepare_pvs 200 1
|
||||
|
||||
pvs > out
|
||||
test "$(grep -c pv out)" -eq 200
|
||||
|
Loading…
Reference in New Issue
Block a user