Whamcloud - gitweb
LU-9295 test: skip sanity-lfsck 9 less than 2.8 03/26403/5
authorJames Nunez <james.a.nunez@intel.com>
Thu, 25 May 2017 22:46:39 +0000 (16:46 -0600)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 17 Aug 2017 01:30:19 +0000 (01:30 +0000)
commit7a3fa849bb96b8fb7faec8e5973e15265938a5c1
tree5a0fa61503ca4dc5b5e9b71b34f385077bab1753
parenta38945a573402a6b80aca5a7e6e9e084dbb5f7c4
LU-9295 test: skip sanity-lfsck 9 less than 2.8

sanity-lfsck tests 9a and 9b check the version of the MDS
to see if the test should be run. Unfortunately, the
server_version variable is never initialized and the tests
are skipped.

For sanity-lfsck tests 9a and 9b, get the server version
using the lustre_version_code routine.

Test-Parameters: trivial testlist=sanity-lfsck
Signed-off-by: James Nunez <james.a.nunez@intel.com>
Change-Id: I6c461a6940a0cbd0439c8f29d979ef799ea30229
Reviewed-on: https://review.whamcloud.com/26403
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Saurabh Tandan <saurabh.tandan@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/sanity-lfsck.sh