Whamcloud - gitweb
LU-2188 tests: Fix assumptions in test 133d
authorNathaniel Clark <nathaniel.l.clark@intel.com>
Thu, 1 Nov 2012 17:51:13 +0000 (13:51 -0400)
committerOleg Drokin <green@whamcloud.com>
Sat, 10 Nov 2012 04:42:46 +0000 (23:42 -0500)
commit214bb48cd628441a77e97ffba409bfc5ad4e501b
treeda34bbef3fe0850db451a03daaac3202c93843bd
parentd1d2bb0d351929a6cffab0cb839cfe088e3c8e92
LU-2188 tests: Fix assumptions in test 133d

The test assumed that with 512 files in a directory, the inode sizes
would be different in the two test directories.  This is not the case
on zfs which caused the get_rename_size() function to return multiple
values.  This change adds a argument to specify which stat is pulled
from rename_stats, and doesn't rely on the sizes being different.

Signed-off-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
Change-Id: I568ec95bd7f0613caf96101055a392ea5762cd2d
Reviewed-on: http://review.whamcloud.com/4438
Reviewed-by: wangdi <di.wang@intel.com>
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/sanity.sh