3 SELF
=$
(cd $
(dirname $0); pwd -P)/$
(basename $0)
5 # define your database name here, will be overriden by
6 # FIRST command line argument if given
8 # define your database usernamename here, will be overriden by
9 # SECOND command line argument if given
11 # define your database password here, will be overriden by
12 # THIRD command line argument if given
15 DRUPALLOCATION
=/var
/www
/drupal.tests.dev.civicrm.org
/public
/
18 if [ ! -r $DRUPALLOCATION ] ; then
19 echo Drupal directory does not exist or not writable.
24 echo You need to pass version number as argument.
27 echo "*** Checking for test tarballs"
29 echo "Found following tarballs:"
31 # fetch command line argument - version
32 if [ ! -z $1 ] ; then VERSION
=$1; fi
34 echo Kicking off upgrade
test for version
: $VERSION