master - test: return 0 if ignoring 'a' device health chars is requested
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=70c340dbc25523de18195a7916f27aa37b051e43 Commit: 70c340dbc25523de18195a7916f27aa37b051e43 Parent: f2eda36cfa9baf3f7e132dbc3a3f34c908cb36d4 Author: Heinz Mauelshagen <[email protected]> AuthorDate: Tue Jul 4 19:34:10 2017 +0200 Committer: Heinz Mauelshagen <[email protected]> CommitterDate: Tue Jul 4 19:34:10 2017 +0200
test: return 0 if ignoring 'a' device health chars is requested
This allows lvconvert-raid-reshape-striped_to_linear.sh to succeed when it reduces raid5 to two stripes before converting to raid1 and linear.
--- test/lib/check.sh | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
test/lib/check.sh +1 -0
@@ -234,6 +234,7 @@ in_sync() { [ $ignore_a -eq 0 ] && \ die "$lvm_name ($type$snap) in-sync, but 'a' characters in health status" echo "$lvm_name ($type$snap) is not in-sync" + [ $ignore_a -eq 1 ] && return 0 return 1 fi