Whamcloud - gitweb
LU-10461 tests: call exit in the skip routine 64/30964/8
authorJames Nunez <james.a.nunez@intel.com>
Sun, 21 Jan 2018 22:31:31 +0000 (15:31 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 9 Apr 2018 19:48:29 +0000 (19:48 +0000)
commit33aad7829de56353cca5bbd082d95d6821a7be9c
tree60d09e39bbcd8f3f067837948e2d65881cd035b4
parent9ee81f920bb3f032e9b3e63bc93cd4d776396059
LU-10461 tests: call exit in the skip routine

There are many reasons to not run, or skip, a test; the test
may require a certain number of servers or a certain Lustre version.
In these cases, the skip() or skip_env() routine is called. When we
call skip, the intention is to exit the routine early. Thus, call
‘exit 0’ at the end of the skip() routine.

Some calls to skip() are changed to skip_env() when a test is being
skipped due to the Lustre configuration or test environment.

Signed-off-by: James Nunez <james.a.nunez@intel.com>
Change-Id: I42fd9535c0a803f334dfc5685f451a6bdc85e84b
Reviewed-on: https://review.whamcloud.com/30964
Reviewed-by: Quentin Bouget <quentin.bouget@cea.fr>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Saurabh Tandan <saurabh.tandan@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/sanity.sh
lustre/tests/test-framework.sh