Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | #!/bin/bash |
2 | ||
3 | SELF=$(cd $(dirname $0); pwd -P)/$(basename $0) | |
4 | ||
31037a42 | 5 | # define your database name here, will be overriden by |
6a488035 TO |
6 | # FIRST command line argument if given |
7 | DBNAME= | |
31037a42 | 8 | # define your database usernamename here, will be overriden by |
6a488035 TO |
9 | # SECOND command line argument if given |
10 | DBUSER= | |
31037a42 | 11 | # define your database password here, will be overriden by |
6a488035 TO |
12 | # THIRD command line argument if given |
13 | DBPASS= | |
14 | ||
15 | DRUPALLOCATION=/var/www/drupal.tests.dev.civicrm.org/public/ | |
16 | ||
17 | ||
18 | if [ ! -r $DRUPALLOCATION ] ; then | |
19 | echo Drupal directory does not exist or not writable. | |
20 | fi | |
21 | ||
22 | ||
23 | if [ -z $1 ] ; then | |
24 | echo You need to pass version number as argument. | |
25 | fi | |
26 | ||
27 | echo "*** Checking for test tarballs" | |
28 | ||
29 | echo "Found following tarballs:" | |
30 | ||
31 | # fetch command line argument - version | |
32 | if [ ! -z $1 ] ; then VERSION=$1; fi | |
33 | ||
34 | echo Kicking off upgrade test for version: $VERSION | |
35 |