diff options
author | Daniel Stenberg <daniel@haxx.se> | 2003-03-20 14:38:42 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2003-03-20 14:38:42 +0000 |
commit | bf5e12c8e0deb5ccb05feaaf997c59aaa255d8b3 (patch) | |
tree | c218d54a8351d6a2155422fc56ba3d8d5a3b8ec2 /testcurl.sh | |
parent | de11f5e53ae5767e663647edeb31816c07dbc10b (diff) | |
download | curl-bf5e12c8e0deb5ccb05feaaf997c59aaa255d8b3.tar.gz |
if the cvs update fails, don't continue further
Diffstat (limited to 'testcurl.sh')
-rwxr-xr-x | testcurl.sh | 5 |
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" |