Whamcloud - gitweb
LU-11010 tests: remove return after skip for conf-sanity 65/34565/2
authorJames Nunez <jnunez@whamcloud.com>
Wed, 27 Jun 2018 15:52:22 +0000 (09:52 -0600)
committerOleg Drokin <green@whamcloud.com>
Mon, 8 Apr 2019 06:28:24 +0000 (06:28 +0000)
commitcd8a8949ba6d618394ec4ac3db60e41b8943ed8f
treea8ee84bb31364d2142cdb227a8e9443f58282645
parent92912099c0ee982d11019b2c586e255654eb9f45
LU-11010 tests: remove return after skip for conf-sanity

The skip() routine now contains a call to exit. All calls
to skip() and skip_env() should be reviewed and calls to
return() that followed skip() should be removed.

This is the fifth patch in a series of patches that
remove calls to return() after skip() in the Lustre test
suites.

A comment is added to skip_env() defining when it should
be used.

Calls to return() after skip() are removed for:
conf-sanity.sh
functions.sh

Lustre-change: https://review.whamcloud.com/32735
Lustre-commit: 915b16cf1278026a9f914f268e8cdfb578d929c4

Signed-off-by: James Nunez <jnunez@whamcloud.com>
Change-Id: Idbcdffda38aaac07f128ae42a2ffcda8986afc33
Reviewed-by: Emoly Liu <emoly@whamcloud.com>
Reviewed-by: Quentin Bouget <quentin.bouget@cea.fr>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Signed-off-by: Minh Diep <mdiep@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/34565
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/tests/conf-sanity.sh
lustre/tests/functions.sh
lustre/tests/test-framework.sh