aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"