the case when stripe count of dir equals to -1 and files
in the dir must be equal to ost count added into
the test_24 of ost-pool.sh
Author: Alyona Romanenko <alyona.romanenko@seagate.com>
Signed-off-by: Alyona Romanenko <alyona.romanenko@seagate.com>
Signed-off-by: Elena Gryaznova <c17455@cray.com>
Test-Parameters: trivial testlist=ost-pools envdefinitions="ONLY=24"
Cray-bug-id: LUS-4467
Seagate-bug-id: MRP-2746
Reviewed-by: Alexander Zarochentsev <c17826@cray.com>
Reviewed-by: Andriy Skulysh <c17819@cray.com>
Change-Id: I91e7c65e178c7706f53a95a2807e06b1bc8e0d24
Reviewed-on: https://review.whamcloud.com/31193
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
[[ "$pool" != "$pool1" ]] &&
error "Pool '$pool' not on $file:$pool1"
[[ "$count" != "$count1" ]] &&
- error "Stripe count $count not on $file:$count1"
+ [[ "$count" != "-1" ]] &&
+ error "Stripe count $count not on"\
+ "$file:$count1"
+ [[ "$count1" != "$OSTCOUNT" ]] &&
+ [[ "$count" = "-1" ]] &&
+ error "Stripe count $count1 not on"\
+ "$file:$OSTCOUNT"
[[ "$size" != "$size1" ]] && [[ "$size" != "0" ]] &&
error "Stripe size $size not on $file:$size1"
done