Whamcloud - gitweb
LU-3664 test: get_param atime_diff returns multiple values 50/7750/3
authorJames Nunez <james.a.nunez@intel.com>
Tue, 24 Sep 2013 20:29:57 +0000 (14:29 -0600)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 27 Sep 2013 15:32:38 +0000 (15:32 +0000)
commit55c468ce5dcc2bd59b4452098918475161e8349f
tree365bf62e5d6f094f2fb5cc7fe3028d5a53353f04
parentb22fb817507ff52c02de38435fe90d758e852105
LU-3664 test: get_param atime_diff returns multiple values

In sanityn test 23, lctl get_param mdd.*. time_diff can
return multiple values. This can happen with there are multiple
MDTs mounted. In order to deal with multiple values, we run the
return value of lctl get_param through "head -1".

Test-Parameters: mdtcount=2 mdscount=2
Signed-off-by: James Nunez <james.a.nunez@intel.com>
Change-Id: Ie830429af38e1e4bce084aa1e6490bbadf366920
Reviewed-on: http://review.whamcloud.com/7750
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Jian Yu <jian.yu@intel.com>
lustre/tests/sanityn.sh