From: adilger Date: Thu, 29 Aug 2002 01:02:22 +0000 (+0000) Subject: Exit from XML configs if there is an error. X-Git-Tag: 0.5.5~24 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=95ef6f9a5c8f7eafa3322cdc7f3e59ca15fdd664;p=fs%2Flustre-release.git Exit from XML configs if there is an error. --- 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 <