From 8d36da5eae0bd404f38e7d4e06c355eff9ad4768 Mon Sep 17 00:00:00 2001 From: rread Date: Fri, 21 Nov 2003 01:04:56 +0000 Subject: [PATCH] add usage() to test_framework, and use getopts cause getopt is broken insanity fixes for hardware --- lustre/tests/insanity.sh | 5 +++-- lustre/tests/replay-single.sh | 1 - 2 files changed, 3 insertions(+), 3 deletions(-) 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} -- 1.8.3.1