mirror of
https://github.com/nextcloud/desktop.git
synced 2024-12-15 18:21:35 +03:00
b5ed352aa3
Only confluct resolution, do not compile or works Conflicts: CMakeLists.txt CPackConfig.cmake ConfigureChecks.cmake client/csync_client.c cmake/Modules/DefineCompilerFlags.cmake cmake/Modules/DefineInstallationPaths.cmake cmake/Modules/FindIconv.cmake cmake/Modules/FindIniparser.cmake cmake/Modules/FindNeon.cmake config.h.cmake config/CMakeLists.txt config/ocsync.conf doc/CMakeLists.txt modules/csync_owncloud.c modules/csync_sftp2.c src/CMakeLists.txt src/csync.c src/csync.h src/csync_config.c src/csync_exclude.c src/csync_lock.c src/csync_macros.h src/csync_misc.c src/csync_misc.h src/csync_private.h src/csync_propagate.c src/csync_statedb.c src/csync_statedb.h src/csync_update.c src/csync_util.c src/csync_util.h src/std/c_dir.c src/std/c_file.c src/std/c_private.h src/std/c_string.c src/std/c_string.h src/std/c_time.c src/vio/csync_vio.c src/vio/csync_vio.h src/vio/csync_vio_file_stat.h src/vio/csync_vio_local.c src/vio/csync_vio_method.h tests/CMakeLists.txt tests/csync_tests/check_csync_statedb_load.c tests/csync_tests/check_csync_statedb_query.c tests/csync_tests/check_csync_treewalk.c tests/csync_tests/check_csync_update.c tests/ownCloud/HTTP/DAV.pm tests/ownCloud/ownCloud/Test.pm tests/std_tests/check_std_c_str.c tests/vio_tests/check_vio.c
37 lines
1.3 KiB
Text
37 lines
1.3 KiB
Text
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.46 at least. Many distros deliver older versions.
|
|
A working version is part of the github checkout.
|
|
|
|
Note: This test script uses perl HTTP::DAV. This package needs to
|
|
be in version 0.46 at least. Many distros deliver older versions.
|
|
Update than.
|
|
|
|
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.
|
|
|
|
Second, unpack the test file collection with
|
|
tar xf testfiles.tar.xz
|
|
in the directory where the tarball can be found.
|
|
|
|
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...
|
|
|
|
Have fun,
|
|
Klaas Freitag <freitag@owncloud.com>
|
|
|
|
|