From f7331a11589a0c18ae738c075b20e2425969fa65 Mon Sep 17 00:00:00 2001 From: Zhilong Liu Date: Fri, 2 Feb 2018 14:10:48 +0800 Subject: mdadm/clustermd_tests: add nobitmap in check Signed-off-by: Zhilong Liu Signed-off-by: Jes Sorensen --- clustermd_tests/func.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/clustermd_tests/func.sh b/clustermd_tests/func.sh index 5c0b1684..329f6103 100644 --- a/clustermd_tests/func.sh +++ b/clustermd_tests/func.sh @@ -284,6 +284,13 @@ check() die "$ip: no '$2' found in /proc/mdstat." done ;; + nobitmap ) + for ip in ${NODES[@]} + do + ssh $ip "grep -sq 'bitmap' /proc/mdstat" && + die "$ip: 'bitmap' found in /proc/mdstat." + done + ;; chunk ) for ip in ${NODES[@]} do -- cgit v1.2.3