Whamcloud - gitweb
LU-1698 test: Test failure on test suite lfsck
authoryangsheng <ys@whamcloud.com>
Fri, 3 Aug 2012 13:17:19 +0000 (21:17 +0800)
committerOleg Drokin <green@whamcloud.com>
Mon, 6 Aug 2012 22:15:22 +0000 (18:15 -0400)
Fix the wrong redirect in get_obdfilter_param().

Test-Parameters: testlist=lfsck
Signed-off-by: yang sheng <ys@whamcloud.com>
Change-Id: I665bd5b25287b453f5c6fc3fc12405064d02b696
Reviewed-on: http://review.whamcloud.com/3523
Reviewed-by: Yu Jian <yujian@whamcloud.com>
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Wei Liu <sarah@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/test-framework.sh

index b547dfc..d76ca5e 100644 (file)
@@ -760,7 +760,7 @@ get_obdfilter_param() {
        local name=$3
 
        do_nodes $nodes "$LCTL get_param -n obdfilter.$device.$name \
-               osd-*.$device.$name" 2>&1 | grep -v 'Found no match'
+               osd-*.$device.$name 2>&1" | grep -v 'Found no match'
 }
 
 set_obdfilter_param() {
@@ -770,7 +770,7 @@ set_obdfilter_param() {
        local value=$4
 
        do_nodes $nodes "$LCTL set_param -n obdfilter.$device.$name=$value \
-               osd-*.$device.$name=$value" 2>&1 | grep -v 'Found no match'
+               osd-*.$device.$name=$value 2>&1" | grep -v 'Found no match'
 }
 
 set_debug_size () {