Whamcloud - gitweb
LU-11607 tests: replace lustre_version/fstype in posix/perf 34/35934/6
authorJames Nunez <jnunez@whamcloud.com>
Tue, 27 Aug 2019 15:39:02 +0000 (09:39 -0600)
committerOleg Drokin <green@whamcloud.com>
Fri, 4 Oct 2019 03:44:21 +0000 (03:44 +0000)
commit73cbcdfe749edd3a441084b90cb2b53f73fa86e4
tree7bcfe2914c5d6e764193b59c2068d475239be6ec
parent956eeec06548f85c249b5a7495dc9bbdcb30b86b
LU-11607 tests: replace lustre_version/fstype in posix/perf

The routine get_lustre_env() is available to all Lustre test
suites and sets environment variables for the Lustre
version and file system type for servers.

In posix, performance-sanity, and parallel-scale, replace
calls to lustre_version_code() and facet_fstype() for all
server types with definitions from get_lustre_env().

While doing this, replace "$SINGLEMDS" with "$MDS1_VERSION"
or "$mds1_FSTYPE" in lustre_version_code() and facet_fstype().

Clean up around any modifications by converting spaces to
tabs.

Test-Parameters: trivial testlist=posix,performance-sanity,parallel-scale
Test-Parameters: fstype=zfs testlist=posix,performance-sanity,parallel-scale
Signed-off-by: James Nunez <jnunez@whamcloud.com>
Change-Id: Id7d3c2a50c7b880c1147e9b6c721fddff07861fa
Reviewed-on: https://review.whamcloud.com/35934
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>
Reviewed-by: Wei Liu <sarah@whamcloud.com>
lustre/tests/parallel-scale.sh
lustre/tests/performance-sanity.sh
lustre/tests/posix.sh