From fd2ff000b5f6f3f3df1c46b50d888affc2f36cd3 Mon Sep 17 00:00:00 2001 From: grev Date: Fri, 10 Apr 2009 14:45:28 +0000 Subject: [PATCH 1/1] 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 7f8f92b..c8b801b 100644 --- a/lustre/tests/test-framework.sh +++ b/lustre/tests/test-framework.sh @@ -710,13 +710,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