Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Nextcloud
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TeDomum
Nextcloud
Commits
c72ea811
Commit
c72ea811
authored
9 years ago
by
Morris Jobke
Browse files
Options
Downloads
Patches
Plain Diff
[autotest.sh] use the DATABASEHOST for the mysql DB drop
parent
75312f96
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
autotest.sh
+1
-1
1 addition, 1 deletion
autotest.sh
with
1 addition
and
1 deletion
autotest.sh
+
1
−
1
View file @
c72ea811
...
@@ -117,7 +117,7 @@ function execute_tests {
...
@@ -117,7 +117,7 @@ function execute_tests {
# drop database
# drop database
if
[
"
$1
"
==
"mysql"
]
;
then
if
[
"
$1
"
==
"mysql"
]
;
then
mysql
-u
$DATABASEUSER
-powncloud
-e
"DROP DATABASE IF EXISTS
$DATABASENAME
"
||
true
mysql
-u
$DATABASEUSER
-powncloud
-e
"DROP DATABASE IF EXISTS
$DATABASENAME
"
-h
$DATABASEHOST
||
true
fi
fi
if
[
"
$1
"
==
"pgsql"
]
;
then
if
[
"
$1
"
==
"pgsql"
]
;
then
dropdb
-U
$DATABASEUSER
$DATABASENAME
||
true
dropdb
-U
$DATABASEUSER
$DATABASENAME
||
true
...
...
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