Whamcloud - gitweb
LU-10673 tests: sanity test_56a fixes 26/31326/4
authorAlyona Romanenko <alyona.romanenko@seagate.com>
Thu, 15 Feb 2018 19:01:05 +0000 (22:01 +0300)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 15 Mar 2018 13:55:03 +0000 (13:55 +0000)
commit49537d8d555948d298617e633dbaf84db4f99f75
tree52ec2f74153074fb1d0bd0ffc4eafa3888e45aed
parent9a526209ad030a2c099d564e81a28d9dc0034a72
LU-10673 tests: sanity test_56a fixes

The $filenum is not equal to $found if stripe_count
more then 1.
The $filenum is not equal to $found if stripe_index
is not default.
Patch fixes the following:
 We will counted files twice with dual striped
 file as they will have objects on both stripes.
 Remove dir's stripe-offset from stripes-offset's sum of
 test dirs/files which get by getstripe -ir.

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=sanity envdefinitions=ONLY=56a
Cray-bug-id: MRP-2738
Reviewed-by: Andriy Skulysh <c17819@cray.com>
Reviewed-by: Parinay Kondekar <parinay.kondekar@seagate.com>
Change-Id: I911bf8b40b7688b4341f48409d9c5b57386cfe3d
Reviewed-on: https://review.whamcloud.com/31326
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/sanity.sh