mirror of https://github.com/nextcloud/server.git
Add files_external webdav apache tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>pull/2877/head
parent
4a2a41191b
commit
3256a1c792
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue