From: Hongchao Zhang Date: Fri, 17 Aug 2012 08:25:32 +0000 (+0800) Subject: LU-582 test: fix bug in get_ost_param in sanity.sh X-Git-Tag: 2.3.62~48 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=c34428cad6bf038a322280bcdb67c25a50c1ea13;hp=2adc20013d9c2a5969a3154b0ca93ac007b1a4e2 LU-582 test: fix bug in get_ost_param in sanity.sh in get_ost_param(), the ouput should be gl_sum, which is the sum of 'gl' in all OSS. Signed-off-by: Hongchao Zhang Change-Id: I51d3aa591c3ca875f8a559974cf05d250b0c032a Reviewed-on: http://review.whamcloud.com/3693 Reviewed-by: Jian Yu Tested-by: Jian Yu Tested-by: Hudson Reviewed-by: Fan Yong Tested-by: Maloo Reviewed-by: Oleg Drokin --- diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index c20f2f0..957cd41 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -7889,7 +7889,7 @@ get_ost_param() { [ x$gl = x"" ] && gl=0 gl_sum=$((gl_sum + gl)) done - echo $gl + echo $gl_sum } som_mode_switch() {