test_410 requires a special module, which is only built if
all modules are being built. So if only the user-space code
was built, this test will fail.
So make the test contitional on the module existing.
Test-Parameters: trivial
Signed-off-by: Mr NeilBrown <neilb@suse.de>
Change-Id: I235894c72b51f627c01ee08e850a59933b49e033
Reviewed-on: https://review.whamcloud.com/39652
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
{
[[ $CLIENT_VERSION -lt $(version_code 2.9.59) ]] &&
skip "Need client version at least 2.9.59"
+ [ -f $LUSTRE/tests/kernel/kinode.ko ] ||
+ skip "Need MODULES build"
# Create a file, and stat it from the kernel
local testfile=$DIR/$tfile