diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-10-28 11:09:12 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-10-28 11:09:12 +0100 |
commit | e54c22eb59d7cf22d8160490e6562bcfbee7a974 (patch) | |
tree | b88f3f2c9d03c55f97592803550583db8c67fd4a /apps/dav | |
parent | 49e30abc822ee8a5cad397838e4295d62e76a207 (diff) | |
parent | 09fff150216d323054256f44ef7d6cc150c4aebc (diff) | |
download | nextcloud-server-e54c22eb59d7cf22d8160490e6562bcfbee7a974.tar.gz nextcloud-server-e54c22eb59d7cf22d8160490e6562bcfbee7a974.zip |
Merge pull request #20089 from owncloud/litmus-test-webdav
Enable DAV app testing on travis
Diffstat (limited to 'apps/dav')
-rw-r--r-- | apps/dav/tests/travis/litmus-v1.sh | 23 | ||||
-rw-r--r-- | apps/dav/tests/travis/litmus-v2.sh | 23 |
2 files changed, 46 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..ab0690f392e --- /dev/null +++ b/apps/dav/tests/travis/litmus-v1.sh @@ -0,0 +1,23 @@ +#!/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..892ad327d3b --- /dev/null +++ b/apps/dav/tests/travis/litmus-v2.sh @@ -0,0 +1,23 @@ +#!/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 |