From: grev Date: Fri, 10 Apr 2009 14:46:49 +0000 (+0000) Subject: b=19129 X-Git-Tag: v1_8_0_110~111 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=c3103adc72e4e5485ea5b29b62804c872798861c;p=fs%2Flustre-release.git b=19129 i=Alexander.Zarochentsev zconf_mount_clients remote command fix --- diff --git a/lustre/tests/test-framework.sh b/lustre/tests/test-framework.sh index e9d8965..14e3229 100644 --- a/lustre/tests/test-framework.sh +++ b/lustre/tests/test-framework.sh @@ -555,13 +555,13 @@ zconf_mount_clients() { echo "Starting client $clients: $OPTIONS $device $mnt" do_nodes $clients "set -x; -running=\\\$(mount | grep -c $mnt' ') -rc=0 +running=\\\$(mount | grep -c $mnt' '); +rc=0; if [ \\\$running -eq 0 ] ; then - mkdir -p $mnt - mount -t lustre $OPTIONS $device $mnt - rc=$? -fi + mkdir -p $mnt; + mount -t lustre $OPTIONS $device $mnt; + rc=$?; +fi; exit $rc" echo "Started clients $clients: "