From: grev Date: Tue, 10 Feb 2009 00:22:41 +0000 (+0000) Subject: b=18219 X-Git-Tag: GIT_EPOCH_B1_6~2^5~195 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=986297dc8b50fd609a680384716efbec5de2bb70;p=fs%2Flustre-release.git b=18219 i=Adilger test_70b one client fix --- diff --git a/lustre/tests/replay-single.sh b/lustre/tests/replay-single.sh index 4609817..91bd5e5 100755 --- a/lustre/tests/replay-single.sh +++ b/lustre/tests/replay-single.sh @@ -1754,18 +1754,15 @@ test_70a () { run_test 70a "check multi client t-f" test_70b () { - [ -z "$CLIENTS" ] && \ - { skip "Need two or more clients." && return; } - [ $CLIENTCOUNT -lt 2 ] && \ - { skip "Need two or more clients, have $CLIENTCOUNT" && return; } + local clients=${CLIENTS:-$HOSTNAME} - zconf_mount_clients $CLIENTS $DIR + zconf_mount_clients $clients $DIR local duration=120 [ "$SLOW" = "no" ] && duration=60 local cmd="rundbench 1 -t $duration" local PID="" - do_nodes $CLIENTS "set -x; MISSING_DBENCH_OK=$MISSING_DBENCH_OK \ + do_nodes $clients "set -x; MISSING_DBENCH_OK=$MISSING_DBENCH_OK \ PATH=:$PATH:$LUSTRE/utils:$LUSTRE/tests/:$DBENCH_LIB \ DBENCH_LIB=$DBENCH_LIB TESTSUITE=$TESTSUITE TESTNAME=$TESTNAME \ LCTL=$LCTL $cmd" &