Whamcloud - gitweb
LU-10626 test: create custom udev rule 43/33143/14
authorJames Simmons <uja.ornl@yahoo.com>
Tue, 16 Oct 2018 17:24:00 +0000 (13:24 -0400)
committerOleg Drokin <green@whamcloud.com>
Sat, 17 Nov 2018 01:26:15 +0000 (01:26 +0000)
commit73ecd83a24e220b8097facf5bf3f5d93f523702c
tree8693f4c21f1439c408dbb320ccb8338a887d8905
parent41a099f9c03c2a3ff62360433985ea5de3e52962
LU-10626 test: create custom udev rule

Some lustre developer do all their testing from their lustre
source tree instead of installing it into an image. Since lustre
is not installed into the image the udev rule for lctl set_param
doesn't work since its not in /etc/udev/rules.d. Additonally udev
rules require using the absolute paths for executables. To handle
this setup create a special udev rule on the fly using $LCTL to
be placed into /etc/udev/rules.d.

Change-Id: I84c55450c866977650b3c6d4190e233a24eb03d8
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-on: https://review.whamcloud.com/33143
Reviewed-by: Nathaniel Clark <nclark@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/test-framework.sh