From 520dddb7d9da0e8f4d85b7c8718de75099755c93 Mon Sep 17 00:00:00 2001 From: Elena Gryaznova Date: Tue, 29 Mar 2011 19:41:52 +0400 Subject: [PATCH] b=23049 t-f do_node() VERBOSE fix i=Vladimir.Saveliev --- lustre/tests/test-framework.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lustre/tests/test-framework.sh b/lustre/tests/test-framework.sh index d24f901..fae3a3a7 100644 --- a/lustre/tests/test-framework.sh +++ b/lustre/tests/test-framework.sh @@ -8,7 +8,7 @@ set -e export REFORMAT=${REFORMAT:-""} export WRITECONF=${WRITECONF:-""} -export VERBOSE=false +export VERBOSE=${VERBOSE:-false} export GMNALNID=${GMNALNID:-/usr/sbin/gmlndnid} export CATASTROPHE=${CATASTROPHE:-/proc/sys/lnet/catastrophe} #export PDSH="pdsh -S -Rssh -w" @@ -1570,7 +1570,7 @@ do_node() { fi if $VERBOSE; then echo "CMD: $HOST $@" >&2 - $myPDSH $HOST $LCTL mark "$@" > /dev/null 2>&1 || : + $myPDSH $HOST "$LCTL mark \"$@\"" > /dev/null 2>&1 || : fi if [ "$myPDSH" = "rsh" ]; then @@ -1633,7 +1633,7 @@ do_nodes() { if $VERBOSE; then echo "CMD: $rnodes $@" >&2 - $myPDSH $rnodes $LCTL mark "$@" > /dev/null 2>&1 || : + $myPDSH $rnodes "$LCTL mark \"$@\"" > /dev/null 2>&1 || : fi # do not replace anything from pdsh output if -N is used -- 1.8.3.1