Whamcloud - gitweb
b=19523
authorgrev <grev>
Tue, 19 May 2009 13:13:10 +0000 (13:13 +0000)
committergrev <grev>
Tue, 19 May 2009 13:13:10 +0000 (13:13 +0000)
i=Vladimir.Saveliev
test_100: exit 1 from subshell

lustre/tests/sanity.sh

index 2dfaa44..e658e14 100644 (file)
@@ -3683,7 +3683,7 @@ test_100() {
                        error "local: $LPORT > 1024, remote: $RPORT"
                fi
        done
-       [ "$rc" = 0 ] || error "privileged port not found" )
+       [ "$rc" = 0 ] || { error "privileged port not found"; exit 1; } )
 }
 run_test 100 "check local port using privileged port ==========="