aboutsummaryrefslogtreecommitdiff
path: root/testcurl.sh
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-03-20 14:38:42 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-03-20 14:38:42 +0000
commitbf5e12c8e0deb5ccb05feaaf997c59aaa255d8b3 (patch)
treec218d54a8351d6a2155422fc56ba3d8d5a3b8ec2 /testcurl.sh
parentde11f5e53ae5767e663647edeb31816c07dbc10b (diff)
if the cvs update fails, don't continue further
Diffstat (limited to 'testcurl.sh')
-rwxr-xr-xtestcurl.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/testcurl.sh b/testcurl.sh
index 3917d5dac..79d1b32b3 100755
--- a/testcurl.sh
+++ b/testcurl.sh
@@ -112,6 +112,11 @@ cvs -Q up -dP 2>&1
cvsstat=$?
echo "testcurl: cvs returned: $cvsstat"
+if [ "$cvsstat" -ne "0" ]; then
+ echo "testcurl: failed to update from CVS, exiting"
+ die
+fi
+
# figure out the current collected CVS status
newstat="../allcvs.log"
oldstat="../oldcvs.log"