From: grev Date: Wed, 20 May 2009 17:11:49 +0000 (+0000) Subject: b=19523 X-Git-Tag: v1_8_2_01~1^2~422 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=6c69a3c868ab43462628b88f922219d002663f6b;p=fs%2Flustre-release.git b=19523 o=Robert.Read i=grev test_100: fix both calls to error --- 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 ==========="