diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2022-08-31 14:14:59 +0200 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2022-09-07 15:00:15 +0200 |
commit | afcf954491416dab5845d25dc45c53c3e8000773 (patch) | |
tree | 86bdeef048bc30df842223e7a61c41b285b7c6de /test/lib | |
parent | 80b782f86ffea19a9881b026df3dc133eebffbe5 (diff) | |
download | lvm2-afcf954491416dab5845d25dc45c53c3e8000773.tar.gz |
tests: no caching for blkid in testing
Diffstat (limited to 'test/lib')
-rwxr-xr-x | test/lib/lvm_vdo_wrapper.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/lvm_vdo_wrapper.sh b/test/lib/lvm_vdo_wrapper.sh index 90d0b2ce8..b1da2e35b 100755 --- a/test/lib/lvm_vdo_wrapper.sh +++ b/test/lib/lvm_vdo_wrapper.sh @@ -142,7 +142,7 @@ esac test -n "${vdo_device-}" || vdo_die_ "VDO device is missing" -blkid -s UUID -o value "${vdo_device}" || true +blkid -c /dev/null -s UUID -o value "${vdo_device}" || true devsize=$(blockdev --getsize64 "$vdo_device") devsize=$(( devsize / 4096 )) # convert to 4KiB units |