From e1d18a8dedf4c837b73d6950d7275bba096b191a Mon Sep 17 00:00:00 2001 From: Thomas Müller Date: Mon, 18 Jan 2016 15:10:33 +0100 Subject: Adjust CalDAV tests --- apps/dav/tests/travis/caldav/script.sh | 5 +++-- .../caldavtest/data/Resource/CalDAV/current-user-principal/1.xml | 6 ++++++ 2 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 apps/dav/tests/travis/caldavtest/data/Resource/CalDAV/current-user-principal/1.xml (limited to 'apps/dav') diff --git a/apps/dav/tests/travis/caldav/script.sh b/apps/dav/tests/travis/caldav/script.sh index a295c83ad94..f5db868296f 100644 --- a/apps/dav/tests/travis/caldav/script.sh +++ b/apps/dav/tests/travis/caldav/script.sh @@ -9,8 +9,9 @@ sleep 30 # run the tests cd "$SCRIPTPATH/CalDAVTester" -PYTHONPATH="$SCRIPTPATH/pycalendar/src" python testcaldav.py --print-details-onfail -s "$SCRIPTPATH/../caldavtest/serverinfo.xml" -o cdt.txt \ - "$SCRIPTPATH/../caldavtest/tests/CalDAV/current-user-principal.xml" +PYTHONPATH="$SCRIPTPATH/pycalendar/src" python testcaldav.py --print-details-onfail --basedir "$SCRIPTPATH/../caldavtest/" -o cdt.txt \ + "CalDAV/current-user-principal.xml" + RESULT=$? tail "$/../../../../../data-autotest/owncloud.log" diff --git a/apps/dav/tests/travis/caldavtest/data/Resource/CalDAV/current-user-principal/1.xml b/apps/dav/tests/travis/caldavtest/data/Resource/CalDAV/current-user-principal/1.xml new file mode 100644 index 00000000000..77a67c110df --- /dev/null +++ b/apps/dav/tests/travis/caldavtest/data/Resource/CalDAV/current-user-principal/1.xml @@ -0,0 +1,6 @@ + + + + + + -- cgit v1.2.3