From: Thomas Mueller Date: Fri, 24 May 2013 13:19:13 +0000 (+0200) Subject: adding Oracle support to autotest.sh X-Git-Tag: v6.0.0alpha2~444^2~26^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=26c91bfbc23788928f7b6c2d8666b7a4e63318ff;p=nextcloud-server.git adding Oracle support to autotest.sh --- diff --git a/autotest.sh b/autotest.sh index fdf6d2fe098..eb07cf8748b 100755 --- a/autotest.sh +++ b/autotest.sh @@ -54,6 +54,22 @@ cat > ./tests/autoconfig-pgsql.php < ./tests/autoconfig-oci.php < false, + 'dbtype' => 'oci', + 'dbtableprefix' => 'oc_', + 'adminlogin' => 'admin', + 'adminpass' => 'admin', + 'directory' => '$BASEDIR/$DATADIR', + 'dbuser' => 'oc_autotest', + 'dbname' => 'XE', + 'dbhost' => 'localhost', + 'dbpass' => 'owncloud', +); +DELIM + function execute_tests { echo "Setup environment for $1 testing ..." # back to root folder @@ -77,6 +93,30 @@ function execute_tests { if [ "$1" == "pgsql" ] ; then dropdb -U oc_autotest oc_autotest fi + if [ "$1" == "oci" ] ; then + echo "drop the database" + sqlplus -s -l / as sysdba <