-
-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2877 from nextcloud/webdavapache
Add files_external webdav apache tests
- Loading branch information
Showing
3 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#!/usr/bin/env bash | ||
# | ||
# Nextcloud | ||
# | ||
|
||
# retrieve current folder to place the config in the parent folder | ||
thisFolder=`echo $0 | sed 's#env/start-webdav-apachedrone\.sh##'` | ||
|
||
if [ -z "$thisFolder" ]; then | ||
thisFolder="." | ||
fi; | ||
|
||
cat > $thisFolder/config.webdav.php <<DELIM | ||
<?php | ||
return array( | ||
'run'=>true, | ||
'host'=>'127.0.0.1:80/webdav/', | ||
'user'=>'test', | ||
'password'=>'pass', | ||
'root'=>'', | ||
'wait'=> 0 | ||
); | ||
DELIM | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/usr/bin/env bash | ||
# | ||
# Nextcloud | ||
|
||
# retrieve current folder to remove the config from the parent folder | ||
thisFolder=`echo $0 | sed 's#env/stop-webdav-apachedrone\.sh##'` | ||
|
||
if [ -z "$thisFolder" ]; then | ||
thisFolder="." | ||
fi; | ||
|
||
# cleanup | ||
rm $thisFolder/config.webdav.php | ||
|