X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Ftests%2Fha.sh;h=9fc76a47f97dc97b74fff24995794b6cb030d16a;hb=HEAD;hp=0cfd59563b9f6c3987555f43a697e76d50c52720;hpb=a4484c1e8191762d626edf9901b1dd24ec8c081a;p=fs%2Flustre-release.git diff --git a/lustre/tests/ha.sh b/lustre/tests/ha.sh index 0cfd595..987387b 100755 --- a/lustre/tests/ha.sh +++ b/lustre/tests/ha.sh @@ -840,7 +840,7 @@ ha_lfsck_repaired() n=$(cat $ha_lfsck_log | awk '/repaired/ {print $3}' |\ awk '{sum += $1} END { print sum }') - [ $n -eq 0] || + (( n == 0 )) || { ha_info "Total repaired: $n"; ha_touch fail; return 1; } return 0