Whamcloud - gitweb
LU-5680 tests: Remove use of /etc/motd from sanity-hsm 21/14021/6
authorJames Nunez <james.a.nunez@intel.com>
Tue, 5 Dec 2017 17:49:26 +0000 (10:49 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 9 Jan 2018 05:35:17 +0000 (05:35 +0000)
commit715c7e9166a34c1f2b781f3314d8b7c02e10950c
tree8880984cfc8451b5ef206254bfcd0b35c2271ad0
parentbda752429ad6e0d7be0eb76c8abe1bf8561ac32f
LU-5680 tests: Remove use of /etc/motd from sanity-hsm

In sanity-hsm tests, /etc/motd is copied to the file system
and archived. /etc/motd may not exist in some Linux distributions
and, if exists, may be of size 0 and may defeat the use of
bandwidth control for timing. Uses of /etc/motd are replaced
with a generated file of known suitable size.

Test-Parameters: trivial testlist=sanity-hsm

Signed-off-by: James Nunez <james.a.nunez@intel.com>
Change-Id: I2f287db6d422ce20bca037ca69e24179c7e48144
Reviewed-on: https://review.whamcloud.com/14021
Reviewed-by: Quentin Bouget <quentin.bouget@cea.fr>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/sanity-hsm.sh