mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Add some more special chars for device name test.
This commit is contained in:
parent
aa8111b3cd
commit
8f85721f00
@ -15,12 +15,12 @@
|
||||
|
||||
aux prepare_devs 1
|
||||
|
||||
pv_suffix="__\"!@#\$%^&*()'\\\"__"
|
||||
pv_ugly="__\"!@#\$%^&*,()|@||'\\\"__pv1"
|
||||
|
||||
# 'set up temp files, loopback devices'
|
||||
name=$(basename "$dev1")
|
||||
dmsetup rename "$name" "$name$pv_suffix"
|
||||
dev1=$(dirname "$dev1")/$name$pv_suffix
|
||||
dmsetup rename "$name" "$PREFIX$pv_ugly"
|
||||
dev1=$(dirname "$dev1")/$PREFIX$pv_ugly
|
||||
|
||||
# 'pvcreate, vgcreate on filename with backslashed chars'
|
||||
pvcreate "$dev1"
|
||||
|
Loading…
Reference in New Issue
Block a user