Whamcloud - gitweb
LU-11607 tests: replace version/fstype calls in conf-sanity 21/35721/2
authorJames Nunez <jnunez@whamcloud.com>
Wed, 7 Aug 2019 21:12:51 +0000 (15:12 -0600)
committerOleg Drokin <green@whamcloud.com>
Thu, 15 Aug 2019 07:55:36 +0000 (07:55 +0000)
commitb4c955fe72d8598c4eaf98b809ae42be94f8c40b
treec6ad39e92343bce87aeed964f5abcece1d3e1a61
parentc00be06a1f8f27eb5bd8bb47086d0f1e5b5f5f50
LU-11607 tests: replace version/fstype calls in conf-sanity

The routine get_lustre_env() is available to all Lustre test
suites and sets an environment variable for the file system
type for MDS1 and OST1 and sets a variable for the Lustre
version of servers.

In conf-sanity, replace the calls to facet_fstype() and
lustre_version_code() for all server types defined in
get_lustre_env().  While doing this, replace SINGLEMDS with
mds1 in these calls.

Clean up around any modifications with
- converting spaces to tabs
- removing calls to return after skip() or skip_env()

Test-Parameters: trivial testlist=conf-sanity
Test-Parameters: fstype=zfs testlist=conf-sanity
Signed-off-by: James Nunez <jnunez@whamcloud.com>
Change-Id: I17707883d46aa66c32e1229107646bc7a9df5e4e
Reviewed-on: https://review.whamcloud.com/35721
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Emoly Liu <emoly@whamcloud.com>
Reviewed-by: Wei Liu <sarah@whamcloud.com>
lustre/tests/conf-sanity.sh