Whamcloud - gitweb
LU-11607 tests: replace version/fstype calls in conf-sanity 42/36942/5
authorJames Nunez <jnunez@whamcloud.com>
Wed, 7 Aug 2019 21:12:51 +0000 (15:12 -0600)
committerOleg Drokin <green@whamcloud.com>
Tue, 25 Feb 2020 06:14:34 +0000 (06:14 +0000)
commit70a42ae7880e137267dcb0dc00b4a38fbae0fe37
treef2df9de936af7f212ca6ed49552106d8278373b0
parent3c3b95cca6d44be1ca0b515f589f2e95c8b26ea4
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()

Lustre-change: https://review.whamcloud.com/35721
Lustre-commit: b4c955fe72d8598c4eaf98b809ae42be94f8c40b

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-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Emoly Liu <emoly@whamcloud.com>
Reviewed-by: Wei Liu <sarah@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/36942
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/tests/conf-sanity.sh