]> sourceware.org Git - lvm2.git/commitdiff
tests: drop cache checking
authorZdenek Kabelac <zkabelac@redhat.com>
Mon, 7 May 2018 09:53:41 +0000 (11:53 +0200)
committerZdenek Kabelac <zkabelac@redhat.com>
Sat, 12 May 2018 16:18:23 +0000 (18:18 +0200)
Just like 52656c89fd6e7655b0599e20f90cc9d70561f1fb
when now cache is compiled in 'unditionally'.

This patch is actually enforce by changes in
commit: 2bc896f2a3a0023a4f45f10da3d0a22295a633ee
where CACHE value is not set anymore.

test/lib/aux.sh

index 977e9170970a5156d7829db510c77e3d52472417..adfad3b6665045cd023292924357f57292df2e79 100644 (file)
@@ -1556,10 +1556,6 @@ have_raid4 () {
 }
 
 have_cache() {
-       test "$CACHE" = shared -o "$CACHE" = internal || {
-               echo "Cache is not built-in." >&2
-               return 1;
-       }
        target_at_least dm-cache "$@"
 
        declare -a CONF=()
This page took 0.045203 seconds and 5 git commands to generate.