From daa897fe90d59c823af6c4b29c5b75fec5ad0be9 Mon Sep 17 00:00:00 2001 From: Petr Rockai Date: Fri, 28 Feb 2014 23:33:30 +0100 Subject: [PATCH] test: Fix stat calls in lvmetad-pvscan-filter. --- test/shell/lvmetad-pvscan-filter.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/shell/lvmetad-pvscan-filter.sh b/test/shell/lvmetad-pvscan-filter.sh index 5aed5322a..6ece577d7 100644 --- a/test/shell/lvmetad-pvscan-filter.sh +++ b/test/shell/lvmetad-pvscan-filter.sh @@ -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"