Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
our_own_cloud_project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
die_coolen_jungs
our_own_cloud_project
Commits
7d3e2283
Commit
7d3e2283
authored
10 years ago
by
Thomas Müller
Browse files
Options
Downloads
Patches
Plain Diff
adding a windows smb config for testing
parent
be271886
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
apps/files_external/tests/env/start-smb-windows.sh
+34
-0
34 additions, 0 deletions
apps/files_external/tests/env/start-smb-windows.sh
apps/files_external/tests/env/stop-smb-windows.sh
+18
-0
18 additions, 0 deletions
apps/files_external/tests/env/stop-smb-windows.sh
with
52 additions
and
0 deletions
apps/files_external/tests/env/start-smb-windows.sh
0 → 100755
+
34
−
0
View file @
7d3e2283
#!/bin/bash
#
# ownCloud
#
# Set environment variable DEBUG to print config file
#
# @author Thomas Müller
# @copyright 2015 Thomas Müller <deepdiver@owncloud.com>
#
# retrieve current folder to place the config in the parent folder
thisFolder
=
`
echo
$0
| replace
"env/start-smb-windows.sh"
""
`
if
[
-z
"
$thisFolder
"
]
;
then
thisFolder
=
"."
fi
;
user
=
smb-test
password
=!
owncloud123
host
=
WIN-9GTFAS08C15
cat
>
$thisFolder
/config.smb.php
<<
DELIM
<?php
return array(
'run'=>true,
'host'=>'
$host
',
'user'=>'
$user
',
'password'=>'
$password
',
'share'=>'oc-test',
'root'=>'',
);
DELIM
This diff is collapsed.
Click to expand it.
apps/files_external/tests/env/stop-smb-windows.sh
0 → 100755
+
18
−
0
View file @
7d3e2283
#!/bin/bash
#
# ownCloud
#
# @author Thomas Müller
# @copyright 2015 Thomas Müller <deepdiver@owncloud.com>
#
# retrieve current folder to remove the config from the parent folder
thisFolder
=
`
echo
$0
| replace
"env/stop-smb-windows.sh"
""
`
if
[
-z
"
$thisFolder
"
]
;
then
thisFolder
=
"."
fi
;
# cleanup
rm
$thisFolder
/config.smb.php
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