Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openbis
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sispub
openbis
Commits
87fc56f0
Commit
87fc56f0
authored
14 years ago
by
tpylak
Browse files
Options
Downloads
Patches
Plain Diff
LMS-1546 minor
SVN: 16741
parent
e6d234fe
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
integration-tests/common.bash
+4
-4
4 additions, 4 deletions
integration-tests/common.bash
with
4 additions
and
4 deletions
integration-tests/common.bash
+
4
−
4
View file @
87fc56f0
...
...
@@ -384,7 +384,7 @@ function restore_database {
local
db_file_path
=
$2
psql_cmd
=
`
run_psql
`
$psql_cmd
-U
postgres
-c
"drop database
$db_name
"
$psql_cmd
-U
postgres
-c
"drop database
if exists
$db_name
"
$psql_cmd
-U
postgres
-c
"create database
$db_name
with owner
$USER
template = template0 encoding = 'UNICODE'"
$psql_cmd
-U
$USER
-d
$db_name
-f
$db_file_path
}
...
...
@@ -402,12 +402,12 @@ function install_openbis_server {
restore_database
$DATABASE
$TEMPLATE
/
$openbis_server_name
/test_database.sql
if
[
$install_openbis
==
"true"
]
;
then
rm
-fr
$openbis_server_dir
copy_templates
$openbis_server_name
copy_templates
$openbis_server_name
unzip
-d
$openbis_server_dir
$INSTALL
/openBIS
*
.zip
$openbis_server_dir
/openBIS-server/install.sh
$PWD
/
$openbis_server_dir
$openbis_server_dir
/service.properties
$openbis_server_dir
/openbis.conf
$openbis_server_dir
/openBIS-server/install.sh
$PWD
/
$openbis_server_dir
$openbis_server_dir
/service.properties
$openbis_server_dir
/openbis.conf
startup_openbis_server
$openbis_server_dir
wait_for_server
wait_for_server
else
copy_templates
$openbis_server_name
restart_openbis
$openbis_server_dir
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment