Skip to contentSkip to conversation

master - test: Fix stat calls in lvmetad-pvscan-filter.

PATCH Petr Rockai 1 participant 1 message Feb 28, 2014

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=daa897fe90d59c823af6c4b29c5b75fec5ad0be9
Commit:        daa897fe90d59c823af6c4b29c5b75fec5ad0be9
Parent:        1bb29bb402c24b7c0230e36b618ac5ce9c0ce822
Author:        Petr Rockai <[email protected]>
AuthorDate:    Fri Feb 28 23:33:30 2014 +0100
Committer:     Petr Rockai <[email protected]>
CommitterDate: Fri Feb 28 23:33:30 2014 +0100

test: Fix stat calls in lvmetad-pvscan-filter.

---
 test/shell/lvmetad-pvscan-filter.sh |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
test/shell/lvmetad-pvscan-filter.sh +2 -2
index 5aed532..6ece577 100644
@@ -15,8 +15,8 @@ test -e LOCAL_LVMETAD || skip
 
 aux prepare_pvs 2
 
-maj=$(($(stat --printf=0x%t "$dev2")))
-min=$(($(stat --printf=0x%T "$dev2")))
+maj=$(($(stat -L --printf=0x%t "$dev2")))
+min=$(($(stat -L --printf=0x%T "$dev2")))
 
 aux hide_dev $dev2
 not pvscan --cache $dev2 2>&1 | grep "not found"