Whamcloud - gitweb
b=19523
authorgrev <grev>
Wed, 20 May 2009 17:11:27 +0000 (17:11 +0000)
committergrev <grev>
Wed, 20 May 2009 17:11:27 +0000 (17:11 +0000)
o=Robert.Read
i=grev
test_100: fix both calls to error

lustre/tests/sanity.sh

index d7cd8ea..9c1365a 100644 (file)
@@ -3804,10 +3804,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 ==========="