From: rread Date: Fri, 21 Nov 2003 01:04:56 +0000 (+0000) Subject: add usage() to test_framework, and use getopts cause getopt is broken X-Git-Tag: v1_7_0_51~2^7~204 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=8d36da5eae0bd404f38e7d4e06c355eff9ad4768;p=fs%2Flustre-release.git add usage() to test_framework, and use getopts cause getopt is broken insanity fixes for hardware --- diff --git a/lustre/tests/insanity.sh b/lustre/tests/insanity.sh index c2c030f..769297b 100755 --- a/lustre/tests/insanity.sh +++ b/lustre/tests/insanity.sh @@ -93,7 +93,7 @@ setup() { [ "$DAEMONFILE" ] && $LCTL debug_daemon start $DAEMONFILE $DAEMONSIZE start mds $MDSLCONFARGS ${REFORMAT} for node in $CLIENTS; do - $PDSH $node lconf --node client_facet --ptldebug $PTLDEBUG --select mds_service=$ACTIVEMDS $XMLCONFIG + do_node $node lconf --node client_facet --ptldebug $PTLDEBUG --select mds_service=$ACTIVEMDS $XMLCONFIG done } @@ -105,7 +105,7 @@ cleanup() { fail mds fi for node in $CLIENTS; do - $PDSH $node lconf ${FORCE} --cleanup --node client_facet $XMLCONFIG + do_node $node lconf ${FORCE} --cleanup --node client_facet $XMLCONFIG || true done stop mds ${FORCE} $MDSLCONFARGS @@ -172,6 +172,7 @@ test_0() { # prepare for MDS failover change_active mds reboot_facet mds + wait_for mds start mds client_df diff --git a/lustre/tests/replay-single.sh b/lustre/tests/replay-single.sh index 65f2804..68e135e 100755 --- a/lustre/tests/replay-single.sh +++ b/lustre/tests/replay-single.sh @@ -10,7 +10,6 @@ LUSTRE=${LUSTRE:-`dirname $0`/..} . $LUSTRE/tests/test-framework.sh init_test_env $@ -set -xv . ${CONFIG:=$LUSTRE/tests/cfg/local.sh}