Klaas Freitag
8633d7751a
Fix test script to work with ocsync.
2012-10-16 11:53:20 +02:00
Klaas Freitag
b976ac914d
Also check the files basename against the exclude pattern.
2012-09-25 15:41:55 +03:00
Klaas Freitag
4eb1ae7853
Fix test: Status must be INSTRUCTION_EVAL.
...
This test runs on an empty database. That also means that there is no
ID in the database which is needed to detect the update. An empty
ID means that the status must be evaluated.
2012-09-24 16:47:43 +03:00
Klaas Freitag
407b87c17b
Fix statedb test: Added new columns.
2012-09-24 16:28:43 +03:00
Klaas Freitag
99691059bf
Removed all usage of openSSL.
2012-08-29 15:37:31 +03:00
Klaas Freitag
4e4fca54c2
added test data as well as a test config template.
2012-08-29 15:26:31 +03:00
Klaas Freitag
52e0f06692
use a more speaking name for config file.
2012-08-29 15:26:15 +03:00
Klaas Freitag
0416107951
Fix testcase.
2012-08-29 13:34:42 +03:00
Klaas Freitag
b6edf82d4e
Fixed license of tests, added dir check test.
2012-08-26 20:08:28 +02:00
Klaas Freitag
4169c4be05
More blackbox testing of csync ownCloud - enhanced test script.
2012-08-23 17:57:04 +03:00
Klaas Freitag
8e401e662f
MD5 Support WIP
2012-08-23 17:34:19 +03:00
Klaas Freitag
459f25b0ef
owncloud test: Save the downloaded file in /tmp.
2012-07-19 21:04:15 +02:00
Klaas Freitag
2b4261f15a
Added functions to generate MD5-Sums based on openssl with tests.
2012-07-18 17:00:46 +02:00
Klaas Freitag
5f93c490a5
Make ownCloud cmocka test build on the win32 platform.
2012-07-11 18:01:08 +02:00
Klaas Freitag
b74fc47e3f
More unit testing of the ownCloud module with mocka.
2012-07-11 16:50:25 +02:00
Klaas Freitag
7b261077a2
Avoid compile warning and use an unsigned variable.
2012-07-09 14:45:25 +02:00
Klaas Freitag
5b79f1feca
Added mocka tests for the ownCloud module.
2012-07-09 14:16:20 +02:00
Klaas Freitag
9eae6d88fd
Add ownCloud directory in tests.
2012-07-09 14:10:04 +02:00
Klaas Freitag
939acdd9ca
Added test for std function c_tmpname.
2012-06-20 10:55:30 +02:00
Klaas Freitag
694a34db9a
tests: Added treewalk test.
2012-05-07 17:19:06 +02:00
Klaas Freitag
2e3a92df4c
tests: Treewalk function unit tests added.
2012-05-07 15:48:34 +02:00
Klaas Freitag
37c538ed9b
Fixed tests script that broke because of HTTP::DAV module
2012-05-04 16:27:15 +02:00
Klaas Freitag
d9ae749dcf
Merge branch 'dav' of ssh://milliways.cryptomilk.org/users/freitag/csync into dav
...
Conflicts:
modules/csync_owncloud.c
src/csync.h
2012-05-04 14:25:01 +02:00
Klaas Freitag
d8bac80f51
tests: Added another test to the ownCloud module test.
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2012-04-17 11:15:34 +02:00
Klaas Freitag
dec1e6a3cf
tests: Use correct value from perl stat call to get the file mtime.
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2012-04-17 10:48:12 +02:00
Klaas Freitag
8e64584c12
tests: Added test script to test the ownCloud module of csync.
...
The script t1.pl is a perl based check script for the ownCloud
module of csync. It requires a running ownCloud server and does
a couple of blackbox tests with it.
See README for more information how to operate.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2012-04-17 10:40:21 +02:00
Klaas Freitag
b433b7d2ac
tests: Added another test to the ownCloud module test.
2012-04-14 03:13:27 +02:00
Klaas Freitag
a85ed3862b
tests: Use correct value from perl stat call to get the file mtime.
2012-04-14 03:13:27 +02:00
Klaas Freitag
da32a9facf
owncloud test: Make use of a little cfg file to configure credentials.
2012-04-14 03:13:26 +02:00
Klaas Freitag
9916abc072
tests: Added test script to test the ownCloud module of csync.
...
The script t1.pl is a perl based check script for the ownCloud
module of csync. It requires a running ownCloud server and does
a couple of blackbox tests with it.
See README for more information how to operate.
2012-04-14 03:13:26 +02:00
Andreas Schneider
2ec6c98101
tests: Fix the csync util test.
2012-02-04 13:30:10 +01:00
Andreas Schneider
e8b0b34fe5
tests: Fix time test.
2012-02-04 13:24:56 +01:00
Andreas Schneider
19abbc04ff
csync: Use csync_gettime().
2012-02-04 13:24:53 +01:00
Andreas Schneider
32ee0d9610
Add c_rmdirs() check.
2009-05-14 17:27:54 +02:00
Andreas Schneider
3114e02833
Add tests for c_lowercase and c_uppercase.
2009-04-29 09:55:13 +02:00
Andreas Schneider
0634e0fdea
Don't require a C++ compiler.
2009-03-18 10:55:14 +01:00
Andreas Schneider
0cb00f266d
Remove unused variable.
2008-09-25 00:56:24 +02:00
Andreas Schneider
646de1261d
Fix a memory leak in the rbtree testcase.
2008-09-22 22:22:45 +02:00
Andreas Schneider
1b4e340565
Fix compiler warnings.
2008-09-11 14:16:04 +02:00
Andreas Schneider
b629730fb0
Created a better function to create the file stat.
2008-09-01 14:53:26 +02:00
Andreas Schneider
c0f7b4546f
Add parse_uri tests.
2008-08-18 09:46:14 +02:00
Andreas Schneider
de86c0ba6b
Add more tests for the virtual io system.
2008-08-06 18:14:34 +02:00
Andreas Schneider
d9432bee61
Add no memory tests to the rbtree testcases.
2008-08-05 11:31:37 +02:00
Andreas Schneider
1315b1197f
Fix a memory leak in the rename test.
2008-08-04 17:21:32 +02:00
Andreas Schneider
1572841ec5
Add a testcase for the update detection.
2008-08-01 15:58:28 +02:00
Andreas Schneider
7143f20f95
Add memory NULL tests.
2008-07-28 11:49:56 +02:00
Andreas Schneider
e84527ccc8
Add a valgrind suppression file to get rid of 3rdparty errors.
2008-07-10 19:08:24 +02:00
Andreas Schneider
e5286c7c8a
Rename journal functions to statedb.
2008-07-09 10:10:00 +02:00
Andreas Schneider
88690312d7
Rename the csync_journal files to csync_statedb.
2008-07-09 09:57:19 +02:00
Andreas Schneider
9a96239e7c
Change the exclude list to match the directories exactly.
2008-06-28 20:46:25 +02:00