From 8629c70b0c87010ce400bda3d6deb37825e1600d Mon Sep 17 00:00:00 2001 From: grev Date: Tue, 10 Feb 2009 00:24:07 +0000 Subject: [PATCH] b=18219 i=Adilger test_70b one client fix --- lustre/tests/replay-single.sh | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/lustre/tests/replay-single.sh b/lustre/tests/replay-single.sh index fa9c6f0..5ef208d 100755 --- a/lustre/tests/replay-single.sh +++ b/lustre/tests/replay-single.sh @@ -1775,18 +1775,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" & -- 1.8.3.1