Whamcloud - gitweb
LU-10365 tests: set proper paths headers for sanity test 400a 37/31737/8
authorJames Simmons <uja.ornl@yahoo.com>
Tue, 21 Aug 2018 18:39:57 +0000 (14:39 -0400)
committerOleg Drokin <green@whamcloud.com>
Sat, 1 Sep 2018 03:29:21 +0000 (03:29 +0000)
commita05c6e3f5598adaa68f7ac52bf489354953b7c2c
tree4b44fc66246633d1e12421733ef4109ceae76d76
parent4720518e7a9665120c6673b59ba2c1d20be320a3
LU-10365 tests: set proper paths headers for sanity test 400a

For the case when /usr/include/lustre doesn't exist sanity test
400a attempts to use the lustre user land headers located in the
source tree. Some of the lustre user land headers are wrappers
around the UAPI headers so we need to include those paths as well.

A test move was done in the linux kernel that moved the UAPI headers
to their proper place. Errors were reported mainly due to
linux/types.h being missing. This could be the reason Ubuntu18 fails
the sanity 400a test.

Test-Parameters: trivial clientdistro=ubuntu1604 testlist=sanity envdefinitions=ONLY=400a

Change-Id: If17da7d9fc4cedb3b9c18feaafbee47d1f94d49b
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-on: https://review.whamcloud.com/31737
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: James Nunez <jnunez@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
12 files changed:
lnet/include/uapi/linux/lnet/libcfs_debug.h
lnet/include/uapi/linux/lnet/lnet-dlc.h
lnet/include/uapi/linux/lnet/lnetctl.h
lnet/include/uapi/linux/lnet/lnetst.h
lnet/include/uapi/linux/lnet/nidstr.h
lustre/include/uapi/linux/lustre/lustre_barrier_user.h
lustre/include/uapi/linux/lustre/lustre_cfg.h
lustre/include/uapi/linux/lustre/lustre_fid.h
lustre/include/uapi/linux/lustre/lustre_fiemap.h
lustre/include/uapi/linux/lustre/lustre_log_user.h
lustre/include/uapi/linux/lustre/lustre_ostid.h
lustre/tests/sanity.sh