mrc0mmand / rpms / lvm2

Forked from rpms/lvm2 2 years ago
Clone

Blame SOURCES/lvm2-2_03_06-tests-accept-also-value-512.patch

26e710
 test/shell/lvchange-cache.sh | 3 ++-
26e710
 1 file changed, 2 insertions(+), 1 deletion(-)
26e710
26e710
diff --git a/test/shell/lvchange-cache.sh b/test/shell/lvchange-cache.sh
26e710
index ab7c8b0..93c8c3b 100644
26e710
--- a/test/shell/lvchange-cache.sh
26e710
+++ b/test/shell/lvchange-cache.sh
26e710
@@ -88,7 +88,8 @@ grep 'random_threshold=4' out
26e710
 else
26e710
 # When MQ is emulated by SMQ policy it does not hold settings.
26e710
 # So just skip testing of param changes when sequential_threshold=0
26e710
-grep 'sequential_threshold=0' out
26e710
+# or some older kernel instancies show also value 512
26e710
+grep 'sequential_threshold=0' out || grep 'sequential_threshold=512' out
26e710
 fi
26e710
 
26e710
 fi  # have_cache 1 5 0