Merge pull request #4124 from tohojo/adv-search-fix
[civicrm-core.git] / tools / scripts / upgrade-test / run-upgrade-test.sh
CommitLineData
6a488035
TO
1#!/bin/bash
2
3SELF=$(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
7DBNAME=
31037a42 8# define your database usernamename here, will be overriden by
6a488035
TO
9# SECOND command line argument if given
10DBUSER=
31037a42 11# define your database password here, will be overriden by
6a488035
TO
12# THIRD command line argument if given
13DBPASS=
14
15DRUPALLOCATION=/var/www/drupal.tests.dev.civicrm.org/public/
16
17
18if [ ! -r $DRUPALLOCATION ] ; then
19 echo Drupal directory does not exist or not writable.
20fi
21
22
23if [ -z $1 ] ; then
24 echo You need to pass version number as argument.
25fi
26
27echo "*** Checking for test tarballs"
28
29echo "Found following tarballs:"
30
31# fetch command line argument - version
32if [ ! -z $1 ] ; then VERSION=$1; fi
33
34echo Kicking off upgrade test for version: $VERSION
35