nextcloud-desktop/test/scripts/txpl
Christian Kamm 69144566ce
Database: Change path for new dbs to .sync_* #5904
This is to avoid issues on OSX, where the ._ prefix has special meaning.

Originally (before 2.3.2) ._ was necessary to guarantee exclusion. But
since then the .sync_ prefix is excluded as well.

This does not affect existing database files.
2020-12-15 10:58:28 +01:00
..
ownCloud Database: Change path for new dbs to .sync_* #5904 2020-12-15 10:58:28 +01:00
testfiles Move csync/tests/ownCloud to test/scripts/txpl 2017-10-05 22:00:57 +02:00
toremote1 Move csync/tests/ownCloud to test/scripts/txpl 2017-10-05 22:00:57 +02:00
.gitignore Move csync/tests/ownCloud to test/scripts/txpl 2017-10-05 22:00:57 +02:00
exclude.cfg Move csync/tests/ownCloud to test/scripts/txpl 2017-10-05 22:00:57 +02:00
README Move csync/tests/ownCloud to test/scripts/txpl 2017-10-05 22:00:57 +02:00
t1.cfg.in Move csync/tests/ownCloud to test/scripts/txpl 2017-10-05 22:00:57 +02:00
t1.pl Fix tx.pl 2020-12-15 10:58:06 +01:00
t2.pl Database: Change path for new dbs to .sync_* #5904 2020-12-15 10:58:28 +01:00
t3.pl Move csync/tests/ownCloud to test/scripts/txpl 2017-10-05 22:00:57 +02:00
t4.pl Fix tx.pl 2020-12-15 10:58:06 +01:00
t5.pl Move csync/tests/ownCloud to test/scripts/txpl 2017-10-05 22:00:57 +02:00
t6.pl Database: Change path for new dbs to .sync_* #5904 2020-12-15 10:58:28 +01:00
t8.pl Move csync/tests/ownCloud to test/scripts/txpl 2017-10-05 22:00:57 +02:00
t9.pl t9.pl: Make more reliable 2017-10-05 22:01:42 +02:00
t_recall.pl Move csync/tests/ownCloud to test/scripts/txpl 2017-10-05 22:00:57 +02:00
testfiles.tar.xz Move csync/tests/ownCloud to test/scripts/txpl 2017-10-05 22:00:57 +02: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>