Whamcloud - gitweb
b=21097 quote the passing on of it's own arguments through $@
authorJian Yu <Jian.Yu@Sun.COM>
Thu, 25 Feb 2010 08:31:58 +0000 (00:31 -0800)
committerRobert Read <rread@sun.com>
Thu, 25 Feb 2010 08:31:58 +0000 (00:31 -0800)
Fix do_nodes() in acc-sm test-framework to quote the passing on
of it's own arguments through $@ to do_node().

i=jian.yu
i=edg

lustre/tests/test-framework.sh

index 5726c3d..e2d5bc0 100644 (file)
@@ -1563,9 +1563,9 @@ do_nodes() {
 
     if single_local_node $rnodes; then
         if $verbose; then
-           do_node --verbose $rnodes $@
+           do_node --verbose $rnodes "$@"
         else
-           do_node $rnodes $@
+           do_node $rnodes "$@"
         fi
         return $?
     fi