Whamcloud - gitweb
LU-5030 tests: handle missing common_name for upstream client 75/14675/50
authorJames Simmons <uja.ornl@yahoo.com>
Tue, 5 Jan 2016 23:30:02 +0000 (18:30 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 12 Jan 2016 02:44:43 +0000 (02:44 +0000)
commit9b09e38b5008af30c86854e77930fc85323079c5
tree452bc7e8c7b175c8c909083de90c3a47ec45fcdc
parent28258a16f7ea8a16a7d486643266109bc37552ca
LU-5030 tests: handle missing common_name for upstream client

The upstream client has moved from procfs to sysfs
except for llite.*.lov.common_name which does not exist
for the upstream client. In the current test suite common_name
is used to gather information like stripe count and ost count.
This is left overs from days before lfs [s|g]et_stripe existed
and OSTCOUNT was not defined in the test suite configuration
files. Instead we can replace the use of common_name with
OSTCOUNT and use lfs [g|s]et_stripe.

Change-Id: I7fbb7348e009cb9f77ba9847aeb4879dc302e4ee
Signed-off-by: Dmitry Eremin <dmitry.eremin@intel.com>
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-on: http://review.whamcloud.com/14675
Tested-by: Jenkins
Reviewed-by: Ryan Haasken <haasken@cray.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/sanity-quota.sh
lustre/tests/sanity.sh
lustre/tests/sanityn.sh