From 95ef6f9a5c8f7eafa3322cdc7f3e59ca15fdd664 Mon Sep 17 00:00:00 2001 From: adilger Date: Thu, 29 Aug 2002 01:02:22 +0000 Subject: [PATCH] Exit from XML configs if there is an error. --- lustre/tests/llecho.sh | 8 ++++---- lustre/tests/llmount.sh | 4 ++-- lustre/tests/local.sh | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/lustre/tests/llecho.sh b/lustre/tests/llecho.sh index 95d40f8..e9f9ee5 100644 --- a/lustre/tests/llecho.sh +++ b/lustre/tests/llecho.sh @@ -5,12 +5,12 @@ lmc=../utils/lmc lconf=../utils/lconf # create nodes -$lmc -o $config --node localhost --net localhost tcp -$lmc -m $config --node localhost --obdtype=obdecho --ost +$lmc -o $config --node localhost --net localhost tcp || exit 1 +$lmc -m $config --node localhost --obdtype=obdecho --ost|| exit 2 # force the osc to be configured (this is normally done when it is mounted) -$lmc -m $config --node localhost --osc OSC_localhost +$lmc -m $config --node localhost --osc OSC_localhost|| exit 3 -$lconf --gdb $config +$lconf --gdb $config || exit 4 cat <