mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-04 09:18:36 +03:00
test: Fix stat calls in lvmetad-pvscan-filter.
This commit is contained in:
parent
1bb29bb402
commit
daa897fe90
@ -15,8 +15,8 @@ test -e LOCAL_LVMETAD || skip
|
|||||||
|
|
||||||
aux prepare_pvs 2
|
aux prepare_pvs 2
|
||||||
|
|
||||||
maj=$(($(stat --printf=0x%t "$dev2")))
|
maj=$(($(stat -L --printf=0x%t "$dev2")))
|
||||||
min=$(($(stat --printf=0x%T "$dev2")))
|
min=$(($(stat -L --printf=0x%T "$dev2")))
|
||||||
|
|
||||||
aux hide_dev $dev2
|
aux hide_dev $dev2
|
||||||
not pvscan --cache $dev2 2>&1 | grep "not found"
|
not pvscan --cache $dev2 2>&1 | grep "not found"
|
||||||
|
Loading…
Reference in New Issue
Block a user