How to compile and run litmus (on debian) for WebDAV tests


#1

litmus is a WebDAV test suite to test your webserver for all needed WebDAV methods which could help you debugging WebDAV problems like described in this FAQ: https://forum.owncloud.org/viewtopic.php?f=17&t=7536

The test suite is available here:

http://www.webdav.org/neon/litmus/

but is fairly old (latest release 9 December 2011) and needs some steps to get it to work on Debian when testing SSL enabled webservers:

1. Download sources

Download and extract the sources from the link above to /usr/src

2. Install dependencies

The "libneon27-gnutls-dev" needs to be installed which contains a fixed libneon27 packages instead of the shipped one in litmus

3. Edit configure script

The /usr/src/litmus-0.13/configure scripts needs to be edited to be able to compile litmus against the external libneon27 lib. Open up the file in your favorite texteditor and replace all:

25 26 27 28 29

with:

25 26 27 28 29 30

4. Configure and compile litmus

Change to the folder /usr/src/litmus-0.13 and run the following:

./configure --with-ssl --with-neon=/usr

make

and then su / sudo and run:

make install

5. Run the testsuite against ownCloud

The following command can be used to test your webserver:

litmus https://example.com/remote.php/webdav username password

Optional you can continue if one test is failing by adding the -k switch to the command above:

litmus -k https://example.com/remote.php/webdav username password

How to fix CalDAV|CardDAV|WebDAV problems
Cant add events in calendar in fresh installation of OC 9
Forbidden error with desktop client
It does not work Yandex.Disk external storage
OWNCloud and CloudLinux
WebDav mapped drive and Robocopy
Owncloud und Easy DAV Termine speichern
#2