Whamcloud - gitweb
LU-10401 procs: print new line based on distro 99/38699/7
authorYang Sheng <ys@whamcloud.com>
Fri, 22 May 2020 04:06:47 +0000 (12:06 +0800)
committerAndreas Dilger <adilger@whamcloud.com>
Sat, 30 May 2020 09:38:39 +0000 (09:38 +0000)
commit0130d7019534611ff05a29fad657226d2eb6b79e
treecbfcec3fb3e5bdcf49d0e7dafdb2e3b4401f6585
parent9487fc66120a8ee4b7dc9af0e6972e4bf0d9cb80
LU-10401 procs: print new line based on distro

Since upstream changed to print new line in module
parameter callback instead of kernel self. So we
need test output of param_get_byte to determine
whether output the new line.
(upstream: v4.14-rc3-148-g96802e6b1dbf)
Also output filename and file content when test
failed for santy 133h.

Test-Parameters: trivial testlist=sanity clientdistro=el8.1 serverdistro=el8.1
Signed-off-by: Yang Sheng <ys@whamcloud.com>
Change-Id: Ibb5961e4de8b05d9dd59875e4fd38a42fa07d0d6
Reviewed-on: https://review.whamcloud.com/38699
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
libcfs/libcfs/debug.c
lustre/tests/sanity.sh