the test compared numericly if though it could contain a string, and I
authorDaniel Stenberg <daniel@haxx.se>
Wed, 23 Jul 2003 17:28:36 +0000 (17:28 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 23 Jul 2003 17:28:36 +0000 (17:28 +0000)
lowered the number of retries to 10

testcurl.sh

index c27f0e3..c3f5e8f 100755 (executable)
@@ -123,8 +123,8 @@ att="0"
 while cvsup; do
   att=`expr $att + 1`
   echo "testcurl: failed CVS update attempt number $att."
-  if [ $att -gt 50 ]; then
-    cvsstat="BADNESS"
+  if [ $att -gt 10 ]; then
+    cvsstat="111"
     break # get out of the loop
   fi
   sleep 5