Whamcloud - gitweb
LU-7972 tests: use $REFORMAT in test-framework.sh correctly 76/19276/6
authorEmoly Liu <emoly.liu@intel.com>
Thu, 21 Apr 2016 04:00:31 +0000 (12:00 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 2 May 2016 23:59:12 +0000 (23:59 +0000)
commit03eb7bb98d5d7f86b37cf4d3a8965ac71bd0693e
tree9f185c76024720ad00eb4db55962ae1727a15ebd
parent12947f6e96220896cace1bdcef2818ed1d04ace9
LU-7972 tests: use $REFORMAT in test-framework.sh correctly

$REFORMAT is always used incorrectly in test-framework.sh, because
as long as $REFORMAT is not null, format will be done, even if
REFORMAT=no.
This patch fixes this issue by setting/judging $REFORMAT=yes/no
explicitly.

Signed-off-by: Emoly Liu <emoly.liu@intel.com>
Change-Id: Iaabea34e0ad453b3f9f986009fa1f8bdec8a98ff
Reviewed-on: http://review.whamcloud.com/19276
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Bobi Jam <bobijam@hotmail.com>
lustre/tests/large-lun.sh
lustre/tests/sgpdd-survey.sh
lustre/tests/test-framework.sh