--- Revision 333366616534 +++ Revision 346334343232 @@ -2,6 +2,7 @@ cd /tmp TESTDIR=couchdb-upgrade-1.0-to-1.1 +rm -rf $TESTDIR mkdir -p $TESTDIR cd $TESTDIR @@ -11,9 +12,7 @@ cd src -if [ ! -d couchdb ]; then - git clone git://git.apache.org/couchdb.git --depth=1 -fi +git clone git://git.apache.org/couchdb.git --depth=1 cd couchdb @@ -79,7 +78,7 @@ RESULT=`curl $COUCH11/test-db/test-doc/attachment.txt` if [ "$RESULT" = "My Hovercraft is full of eels" ]; then - echo "PASS SETUP" + echo "PASS VALIDATION" else echo "FAIL VALIDATION" fi