Whamcloud - gitweb
LU-2694 test: fix is_empty_fs in t-f
authorNiu Yawei <niu@whamcloud.com>
Mon, 4 Mar 2013 14:25:25 +0000 (09:25 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 12 Mar 2013 05:04:00 +0000 (01:04 -0400)
commit48c78f609fb3dd8f20f8a49a22a16dbb956b3f04
tree38c74ba26ab8e128243e22169e66c9a02c8d4a78
parentc42102f7f5204b8f6c51e409603982a026ce1136
LU-2694 test: fix is_empty_fs in t-f

The original is_empty_fs is incorrect, which can cause unexpected
error when running lfsck.sh, because lfsck sets the max error
level based on whether filesystem is empty.

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