1
0
mirror of https://github.com/chylex/Nextcloud-Desktop.git synced 2024-11-27 06:42:46 +01:00
Nextcloud-Desktop/csync/tests/ownCloud
2016-11-25 13:21:34 +01:00
..
ownCloud Fix perl tests for sync journal db name 2016-11-25 13:21:34 +01:00
testfiles Move csync in order to merge it with mirall 2014-01-13 14:39:50 +01:00
toremote1 Removed another file for Jenkins. 2014-04-23 13:22:06 +02:00
.gitignore CSync tests: Add t1.cfg to gitignore. 2014-09-19 14:21:14 +02:00
exclude.cfg t4.pl: add a test to test that ignored file are not deleted 2014-08-28 19:33:52 +02:00
README Doc: Update csync test script README. 2014-09-17 16:18:55 +02:00
t1.cfg.in t1.cfg.in: saner placeholder executable name 2014-09-17 14:39:34 +02:00
t1.pl Fix perl tests #4722 2016-04-28 10:44:37 +02:00
t2.pl Fix perl tests for sync journal db name 2016-11-25 13:21:34 +01:00
t3.pl MOVE: fix moving with special character. 2014-11-11 16:27:06 +01:00
t4.pl csync: Do not ignore hard links anymore 2015-07-01 13:05:08 +02:00
t5.pl tests: exit t5.pl if running against ownCloud 6 2014-10-29 14:24:36 +01:00
t6.pl Fix perl tests for sync journal db name 2016-11-25 13:21:34 +01:00
t7.pl Fix perl tests for sync journal db name 2016-11-25 13:21:34 +01:00
t8.pl t8.pl: fix the test for me 2014-11-11 16:38:20 +01:00
t9.pl Checksums: Skip uploads of .eml files only #4754 2016-04-28 12:59:39 +02:00
t_recall.pl Improvements to file recall 2016-09-14 15:42:19 +02:00
testfiles.tar.xz Move csync in order to merge it with mirall 2014-01-13 14:39:50 +01:00

t1 - an integration test script for csync syncing to ownCloud.

Note: This test script uses perl HTTP::DAV. This package needs to
be in version 0.47 at least. Many distros deliver older versions.

t1 uses a perl WebDAV client lib to sync to an existing instance of
ownCloud. For that, various files are copied around, synced and the
results are tested through their existance, the filesize and the 
modification times. All tests are asserts, which means that the 
scripts stops if a test fails.

How to call:

First, configure the script. For that, create a file t1.cfg. There
is t1.cfg.in as an example. Yeah, this test script is not secure,
make sure to run it with a weak account and in a save environment.

To start the script, call ./t1.pl on the commandline. A lot of 
output is generated. If the script does not fail, everything works.

Before it actually ends, it takes a four seconds break for you to 
interrupt with Ctrl-C. If you don't do that, it removes all its 
traces...

If SSL should be used, SSL must be available to LWP connections. To
disable host checking for crappy SSL certs, do
export PERL_LWP_SSL_VERIFY_HOSTNAME=0

Have fun,
Klaas Freitag <freitag@owncloud.com>