From: grev Date: Wed, 20 May 2009 17:15:54 +0000 (+0000) Subject: b=19523 X-Git-Tag: v1_6_7_2~9 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=de1d044551ee86e108d42943b5426a1058dbf8c4;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 5d1f034..bdeec2f 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -3636,10 +3636,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 ==========="