Whamcloud - gitweb
LU-1345 tests: sanity test 215 non integer handling fix
authorJames Simmons <uja.ornl@gmail.com>
Fri, 4 May 2012 11:40:49 +0000 (07:40 -0400)
committerOleg Drokin <green@whamcloud.com>
Mon, 14 May 2012 16:51:03 +0000 (12:51 -0400)
commit57c7b312b242a24768baf42cc88dec450f068948
treeb7c9db59ca6c96b022a4dbbc77ecee15a8f10218
parentadec9ed03b9374088bec8c6e9e2dcc9b5c24902f
LU-1345 tests: sanity test 215 non integer handling fix

Sanity test 215 test the format of various /proc/sys/lnet/* files.
Some of those files are integer values but their can be times when
no valid number is available so a NA is reported. This patch
handles those cases.

Signed-off-by: James Simmons <uja.ornl@gmail.com>
Change-Id: If03a57e378e98ddd689c0e555fc8c9dc87d39138
Reviewed-on: http://review.whamcloud.com/2603
Reviewed-by: Yu Jian <yujian@whamcloud.com>
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Minh Diep <mdiep@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/sanity.sh