[Nice-commit] tester cvs,NONE,1.1
Brought to you by:
bonniot
From: <bo...@us...> - 2003-05-12 17:02:29
|
Update of /cvsroot/nice/tester In directory sc8-pr-cvs1:/tmp/cvs-serv8830 Added Files: cvs Log Message: Retry the cvs export a few times, since sourceforge is hiccuping these days. Test can now also answer SKIP and IMPOSSIBLE. --- NEW FILE: cvs --- #! /bin/sh # Wrapper for cvs, that retries seevral times in case of failure # Usage: # cvs <module name> # Try at most 10 times times, in case the cvs server is busy tries=0 while ! cvs -d:pserver:anonymous@$CVS_SOURCEFORGE:/cvsroot/nice export \ -rHEAD "$@"; do tries=`expr $tries + 1` if [ $tries -ge 10 ]; then # Signal that we failed because of a network problem exit 1 fi echo "$tries failures" sleep 30 done |