Whamcloud - gitweb
LU-11607 tests: replace version/fstype calls in sanity/n 19/35719/8
authorJames Nunez <jnunez@whamcloud.com>
Wed, 7 Aug 2019 19:27:13 +0000 (13:27 -0600)
committerOleg Drokin <green@whamcloud.com>
Sat, 8 Feb 2020 04:00:43 +0000 (04:00 +0000)
commit6ee31faf3970d47a79f538712382073b3833a06c
tree5f4541930d5d97d6c57693d9a640b25795163de0
parentbe3b7e772d3aadfee9200565ebf88528272c1d6d
LU-11607 tests: replace version/fstype calls in sanity/n

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.

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=sanityn
Test-Parameters: fstype=zfs testlist=sanityn,sanity
Signed-off-by: James Nunez <jnunez@whamcloud.com>
Change-Id: Ibc66220ae3b57cf22395d13f5d35feceeb61adfe
Reviewed-on: https://review.whamcloud.com/35719
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Emoly Liu <emoly@whamcloud.com>
lustre/tests/sanity.sh
lustre/tests/sanityn.sh