Whamcloud - gitweb
LU-11607 tests: create routine to get Lustre env 38/33938/5
authorJames Nunez <jnunez@whamcloud.com>
Fri, 28 Dec 2018 16:23:32 +0000 (09:23 -0700)
committerOleg Drokin <green@whamcloud.com>
Thu, 24 Jan 2019 18:10:05 +0000 (18:10 +0000)
commit4eb4479b0ea050d99033a9bac9994d2f1509200c
tree315eebbd05c8fdfa3a95b665988b59e133b1f8e5
parentfc9de679a4c2294e0cd3b084c8f0dd473342a6b9
LU-11607 tests: create routine to get Lustre env

The Lustre tests in the test suites make repeated calls
to a small number functions that relate to the Lustre
environment. Some examples are the version of the Lustre
server or client and the file system type of the server.

Collect these calls into a routine called get_lustre_env()
in the test-framework.sh library and replace calls in
sanity with the global variables.

Test-Parameters: trivial
Signed-off-by: James Nunez <jnunez@whamcloud.com>
Change-Id: I01dd00dd50cca39c964c5fd8abc3f51ab3c8e6b8
Reviewed-on: https://review.whamcloud.com/33938
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Wei Liu <sarah@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/sanity.sh
lustre/tests/test-framework.sh