Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-03-20 12:33:21 +0300
committerThomas Müller <thomas.mueller@tmit.eu>2015-03-20 12:33:21 +0300
commitd039e4fd254ef177cbe96245b76d823d4e1f6713 (patch)
tree206836d35f9046031924476c27535e43cff1d026 /autotest.sh
parenta56e16fdaa8eb8971118ff309f43b91e9b38be4e (diff)
Now using a special docker where the database for testing is already available
Diffstat (limited to 'autotest.sh')
-rwxr-xr-xautotest.sh28
1 files changed, 2 insertions, 26 deletions
diff --git a/autotest.sh b/autotest.sh
index 94808e3136a..6c2a61da0a7 100755
--- a/autotest.sh
+++ b/autotest.sh
@@ -124,37 +124,13 @@ function execute_tests {
fi
if [ "$1" == "oci" ] ; then
echo "Fire up the oracle docker"
- DOCKER_CONTAINER_ID=`docker run -d wnameless/oracle-xe-11g`
+ DOCKER_CONTAINER_ID=`docker run -d deepdiver/docker-oracle-xe-11g`
DATABASEHOST=`docker inspect $DOCKER_CONTAINER_ID | grep IPAddress | cut -d '"' -f 4`
echo "Waiting 60 seconds for Oracle initialization ... "
sleep 60
- echo "drop the database"
- echo "sqlplus -s -l system/oracle@//$DATABASEHOST:1521/xe"
-
- sqlplus -s -l system/oracle@//$DATABASEHOST:1521/xe <<EOF
- drop user $DATABASENAME cascade;
-EOF
-
- echo "create the database"
- sqlplus -s -l system/oracle@//$DATABASEHOST:1521/xe <<EOF
- create user $DATABASENAME identified by owncloud;
- alter user $DATABASENAME default tablespace users
- temporary tablespace temp
- quota unlimited on users;
- grant create session
- , create table
- , create procedure
- , create sequence
- , create trigger
- , create view
- , create synonym
- , alter session
- to $DATABASENAME;
- exit;
-EOF
- DATABASEUSER=$DATABASENAME
+ DATABASEUSER=autotest
DATABASENAME='XE'
fi