From b4b7fb07099c23bce313c343dede14d96ea273bd Mon Sep 17 00:00:00 2001 From: grev Date: Fri, 10 Apr 2009 14:48:15 +0000 Subject: [PATCH] b=19129 i=Alexander.Zarochentsev zconf_mount_clients remote command fix --- lustre/tests/test-framework.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lustre/tests/test-framework.sh b/lustre/tests/test-framework.sh index 0885b36..3bc799a 100644 --- a/lustre/tests/test-framework.sh +++ b/lustre/tests/test-framework.sh @@ -566,13 +566,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: " -- 1.8.3.1