From c8c524a00b5e631f3f762efc9dc5ef58b66153f2 Mon Sep 17 00:00:00 2001 From: grev Date: Wed, 20 May 2009 17:03:40 +0000 Subject: [PATCH] b=19523 o=Robert.Read i=grev test_100: fix both calls to error --- lustre/tests/sanity.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index e658e14..a5ad989 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -3680,10 +3680,10 @@ test_100() { if [ $LPORT -ge 1024 ]; then echo "bad: $PROT $SND $RCV $LOCAL $REMOTE $STAT" netstat -tna - error "local: $LPORT > 1024, remote: $RPORT" + error_exit "local: $LPORT > 1024, remote: $RPORT" fi done - [ "$rc" = 0 ] || { error "privileged port not found"; exit 1; } ) + [ "$rc" = 0 ] || error_exit "privileged port not found" ) } run_test 100 "check local port using privileged port ===========" -- 1.8.3.1