Whamcloud - gitweb
LU-5030 tests: remove /proc paths from tests 82/17082/17
authorAndreas Dilger <andreas.dilger@intel.com>
Mon, 18 Jan 2016 14:41:46 +0000 (09:41 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 21 Jan 2016 03:52:40 +0000 (03:52 +0000)
commit072d6b3156bf3b5d1738b43aadcba5c378c59ee9
tree47731ec38620a0499466e7de87013dde4e1e7539
parentff577af11b3eb96fbdb2de7af0cdf78ad6c8ec56
LU-5030 tests: remove /proc paths from tests

Remove the hard-coded /proc paths from cancel_lru_locks().  This was
only kept around because of a legacy implementation of that function
where it listed all lru_size files and then clear'd them manually.

If the filenames contained '.' then "lctl {get_param,set_param}" get
unhappy, but if the "lctl {get_param,set_param}" built-in globbing is
used with a wildcard parameter like "MGC*" then the '.' in the param
does not get replaced by '/' during processing and it just works.

Fix sanity-sec.sh test_24 to use "lctl get_param -R".  I couldn't see
a functional difference between the two read checks in that test,
so only left a single check.

Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
Signed-off-by: Emoly Liu <emoly.liu@intel.com>
Change-Id: I0aff1dd29d44b9272f56e18f0e443c7fab3ebbe5
Reviewed-on: http://review.whamcloud.com/17082
Tested-by: Jenkins
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Ryan Haasken <haasken@cray.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/sanity-sec.sh
lustre/tests/sanity.sh
lustre/tests/test-framework.sh
lustre/utils/llobdstat