Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/dav/tests/travis/litmus-v1.sh24
-rw-r--r--apps/dav/tests/travis/litmus-v2.sh24
2 files changed, 48 insertions, 0 deletions
diff --git a/apps/dav/tests/travis/litmus-v1.sh b/apps/dav/tests/travis/litmus-v1.sh
new file mode 100644
index 00000000000..587561ed29f
--- /dev/null
+++ b/apps/dav/tests/travis/litmus-v1.sh
@@ -0,0 +1,24 @@
+#!/usr/bin/env bash
+
+SCRIPT=`realpath $0`
+SCRIPTPATH=`dirname $SCRIPT`
+
+
+# start the server
+php -S 127.0.0.1:8888 -t "$SCRIPTPATH/../../../.." &
+
+
+# compile litmus
+if [ ! -f /tmp/litmus/litmus-0.13.tar.gz ]; then
+ mkdir -p /tmp/litmus
+ wget -O /tmp/litmus/litmus-0.13.tar.gz http://www.webdav.org/neon/litmus/litmus-0.13.tar.gz
+ cd /tmp/litmus
+ tar -xzf litmus-0.13.tar.gz
+ cd /tmp/litmus/litmus-0.13
+ ./configure
+ make
+fi
+
+# run the tests
+cd /tmp/litmus/litmus-0.13
+make URL=http://127.0.0.1:8888/remote.php/webdav CREDS="admin admin" TESTS="basic copymove props locks" check
diff --git a/apps/dav/tests/travis/litmus-v2.sh b/apps/dav/tests/travis/litmus-v2.sh
new file mode 100644
index 00000000000..40a06a26e65
--- /dev/null
+++ b/apps/dav/tests/travis/litmus-v2.sh
@@ -0,0 +1,24 @@
+#!/usr/bin/env bash
+
+SCRIPT=`realpath $0`
+SCRIPTPATH=`dirname $SCRIPT`
+
+
+# start the server
+php -S 127.0.0.1:8888 -t "$SCRIPTPATH/../../../.." &
+
+
+# compile litmus
+if [ ! -f /tmp/litmus/litmus-0.13.tar.gz ]; then
+ mkdir -p /tmp/litmus
+ wget -O /tmp/litmus/litmus-0.13.tar.gz http://www.webdav.org/neon/litmus/litmus-0.13.tar.gz
+ cd /tmp/litmus
+ tar -xzf litmus-0.13.tar.gz
+ cd /tmp/litmus/litmus-0.13
+ ./configure
+ make
+fi
+
+# run the tests
+cd /tmp/litmus/litmus-0.13
+make URL=http://127.0.0.1:8888/remote.php/dav/files/admin CREDS="admin admin" TESTS="basic copymove props locks" check