Whamcloud - gitweb
LU-3367 test: some fixes for lfsck test 94/6494/3
authorEmoly Liu <emoly.liu@intel.com>
Sun, 19 May 2013 04:36:30 +0000 (12:36 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 23 Jul 2013 05:49:07 +0000 (05:49 +0000)
commit4c2239d621a9d39f0d1d2c6e6fdaa32014f5a3f9
tree8a3a2f11eec29620ddedb851fe10b51ccba7d066
parent3052583f5e89b4b4294a4df05939e749be22df3d
LU-3367 test: some fixes for lfsck test

This patch includes the following fixes:
- the patch of LU-2780 (f9659fd87771122d01a4fafb09ba59c4cf0091ab),
changed ./lustre/fid to be an real inode, which breaks
is_empty_fs() of t-f, so update is_empty_fs() accordingly and add
version check code to check this change.
- some code cleanup
Part of this patch comes from
LU-3180 http://review.whamcloud.com/#change,6123 .

Test-Parameters: testlist=lfsck
Signed-off-by: Niu Yawei <yawei.niu@intel.com>
Signed-off-by: Liu Ying <emoly.liu@intel.com>
Change-Id: Ic9f517ca4adcf01e191a62c6a16b097ebcb4c9a5
Reviewed-on: http://review.whamcloud.com/6494
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Jian Yu <jian.yu@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/test-framework.sh