Whamcloud - gitweb
LU-1538 tests: sanity/101d to check available space 12/4312/6
authorAlex Zhuravlev <alexey.zhuravlev@intel.com>
Fri, 19 Oct 2012 18:30:49 +0000 (22:30 +0400)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 23 Jan 2014 05:10:13 +0000 (05:10 +0000)
commit53935a5dbfb95e0f7c9a7ea9e690cfb2dd6f82cb
tree6feff79f8334007a5cb36f95f66f30bedd670436
parentca3dc23ce4265292abcf41375f5c7827d5b38b43
LU-1538 tests: sanity/101d to check available space

Fix the check which compared MBs (in size variable) with KBs
(reported by df).  Also avoid failure if the read took under
two seconds, since the timing is inaccurate at that resolution.

Signed-off-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Change-Id: I43335d699ad2b7e4c5db00c36a7795683f3b04f7
Reviewed-on: http://review.whamcloud.com/4312
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
Reviewed-by: Jian Yu <jian.yu@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/sanity.sh