Andreas Schneider
|
8953ed544c
|
statedb: Remove context where it isn't needed.
|
2013-07-04 10:29:48 +02:00 |
|
Andreas Schneider
|
d05b077851
|
statedb: Always pass down the db pointer.
|
2013-07-04 10:29:19 +02:00 |
|
Klaas Freitag
|
ce6cf57a29
|
Make test work again by not writing the db.
|
2013-07-04 10:28:55 +02:00 |
|
Olivier Goffart
|
ed76e5f1f2
|
Fix conflict file appearing when a file cannot be stated
We still need to fetch the md5 from the database to be able to store it
back.
|
2013-06-13 15:06:35 +02:00 |
|
Klaas Freitag
|
72cc0f5d7c
|
Fixed testcase.
|
2013-06-10 11:48:38 +02:00 |
|
Klaas Freitag
|
ae5847138c
|
Fix test cases for the new database code.
|
2013-06-07 16:09:22 +02:00 |
|
Klaas Freitag
|
e4b9f21f81
|
Fix statedb load test case.
|
2013-05-22 16:51:09 +02:00 |
|
Klaas Freitag
|
f2669ae886
|
Fix statedb-query test.
|
2013-05-22 16:43:31 +02:00 |
|
Daniel Molkentin
|
39cfe91da6
|
fix httpbf test case
|
2013-05-22 16:32:08 +02:00 |
|
Klaas Freitag
|
ad7aac4152
|
Rather use eq and ne for string comparison.
|
2013-05-16 16:12:27 +02:00 |
|
Daniel Molkentin
|
b9c7980433
|
Work on non-mac again
|
2013-05-16 15:00:52 +02:00 |
|
Daniel Molkentin
|
ecff867e46
|
Get further on mac
|
2013-05-16 13:02:51 +02:00 |
|
Klaas Freitag
|
4af8f470e8
|
Check the stat result.
|
2013-05-16 12:46:06 +02:00 |
|
Olivier Goffart
|
5c79d8bdef
|
t3.pl: test renaming folder
Add a test to test that renaming folder and doing complex stuff in them
works
|
2013-05-15 17:59:13 +02:00 |
|
Daniel Molkentin
|
6b4501fd4b
|
Try to make t1 utf-8-mac safe
|
2013-05-15 17:57:19 +02:00 |
|
Klaas Freitag
|
551d457c7c
|
Pulled Test.pm out of t1.pl for reuse. Simplified t1.pl.
|
2013-05-15 11:15:50 +02:00 |
|
Klaas Freitag
|
eb2997e609
|
Normalized UTF-8 and createLocalFile added.
|
2013-05-14 17:46:35 +02:00 |
|
Klaas Freitag
|
ae1541a95f
|
Dependency info added.
|
2013-05-14 16:32:36 +02:00 |
|
Klaas Freitag
|
f56a075f36
|
Create directories vio mkcol and do not compare dir sizes.
|
2013-05-14 16:01:57 +02:00 |
|
Klaas Freitag
|
8f6562f737
|
Disabled lock test for owncloud.
|
2013-05-13 15:30:10 +02:00 |
|
Olivier Goffart
|
41a56b19b7
|
t1.pl: let configure csync command
|
2013-05-10 12:45:51 +02:00 |
|
Klaas Freitag
|
9d84c19b69
|
Reworked integration test: File assert traversal fixed.
|
2013-05-09 13:26:28 +02:00 |
|
Klaas Freitag
|
b1f62b51bf
|
Add owncloud module files to build.
|
2013-05-09 13:26:28 +02:00 |
|
Klaas Freitag
|
52d9a9fb0a
|
Merge remote-tracking branch 'ogoffart/dav' into dav
|
2013-05-07 12:28:35 +02:00 |
|
Klaas Freitag
|
c8fdf1d4fb
|
Minor reformatting.
|
2013-05-07 12:27:40 +02:00 |
|
Olivier Goffart
|
247f4d948c
|
don't ajust the time anymore with the difference from client to server
|
2013-05-07 11:45:02 +02:00 |
|
Klaas Freitag
|
8a80a55aec
|
Remove unused varialbe.
|
2013-05-04 12:17:22 +02:00 |
|
Klaas Freitag
|
4f396c4562
|
Testfile added.
|
2013-04-26 17:41:55 +02:00 |
|
Klaas Freitag
|
8ac8701c10
|
Fix httpbf upload of zero size files, incl. test for that case.
|
2013-04-26 17:40:24 +02:00 |
|
Andreas Schneider
|
9409d1c96e
|
If there is no vio commit function don't fail.
|
2013-04-24 14:35:19 +02:00 |
|
Klaas Freitag
|
3b6d1cab91
|
Test for csync_commit
|
2013-04-24 14:21:51 +02:00 |
|
Klaas Freitag
|
2b971a09f3
|
Make httpbf tests functional.
|
2013-04-17 15:21:38 +02:00 |
|
Klaas Freitag
|
9f7de96a73
|
Added c_compare_file function plus a test function.
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
|
2013-04-06 18:11:18 +02:00 |
|
Klaas Freitag
|
f4ee205fe9
|
Minor code cleanups, warning avoidings and indentation.
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
|
2013-04-05 17:40:21 +02:00 |
|
Klaas Freitag
|
aada909836
|
Use multibyte character in file system functions.
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
|
2013-04-05 17:40:21 +02:00 |
|
Klaas Freitag
|
ec51a6933a
|
Improve c_tmpname function to generate tmp name properly.
|
2013-04-04 12:59:39 +02:00 |
|
Klaas Freitag
|
08d439129c
|
Fix some documentation in the code
|
2013-04-03 16:39:04 +02:00 |
|
Klaas Freitag
|
34668e42b3
|
Merge branch 'dav_0.70.5' into dav - WIP
Conflicts:
CMakeLists.txt
CPackConfig.cmake
src/csync.h
src/csync_update.c
tests/ownCloud/t1.pl
|
2013-04-02 14:44:01 +02:00 |
|
Klaas Freitag
|
5951039894
|
Improved C style and added more tests.
|
2013-03-26 12:01:48 +01:00 |
|
Klaas Freitag
|
a84332c910
|
Improved C style and added more tests.
|
2013-03-26 12:00:57 +01:00 |
|
Klaas Freitag
|
0baa80c235
|
Test added for c_compare_file.
|
2013-03-26 11:53:14 +01:00 |
|
Klaas Freitag
|
a71aef1731
|
Added c_compare_file function and test - WIP.
|
2013-03-26 11:52:46 +01:00 |
|
Klaas Freitag
|
466faba761
|
Fix test script.
|
2013-03-26 10:06:00 +01:00 |
|
Klaas Freitag
|
a3f29967f7
|
Test added for c_compare_file.
|
2013-03-22 13:54:46 +01:00 |
|
Klaas Freitag
|
3ce614039a
|
Added c_compare_file function and test - WIP.
|
2013-03-22 10:23:17 +01:00 |
|
Klaas Freitag
|
8b229f6413
|
Minor fixups.
|
2013-03-22 10:22:50 +01:00 |
|
Klaas Freitag
|
20816f346d
|
Fix a apple only warning.
|
2013-03-19 16:21:36 +01:00 |
|
Klaas Freitag
|
089d919be2
|
Fix mkdir tests, as they use relative pathes the cwd should be defined.
|
2013-03-14 14:29:31 +01:00 |
|
Andreas Schneider
|
862f83988f
|
tests: Update valgrind suppressions.
|
2013-03-08 18:50:26 +01:00 |
|
Andreas Schneider
|
0b5a83fc7f
|
tests: Fix memleaks in encoding test.
|
2013-03-08 18:50:26 +01:00 |
|
Andreas Schneider
|
13901b23f0
|
tests: Fix memleaks in vio test.
|
2013-03-08 18:50:22 +01:00 |
|
Klaas Freitag
|
2cc291c520
|
tests: Add treewalk test.
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
|
2013-03-08 15:55:03 +01:00 |
|
Klaas Freitag
|
87c313485b
|
tests: Treewalk function unit tests added.
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
|
2013-03-08 15:55:03 +01:00 |
|
Andreas Schneider
|
457086c63e
|
tests: Apply changes to the logging system.
|
2013-03-01 10:06:06 +01:00 |
|
Klaas Freitag
|
41021d58d5
|
tests: Ported more tests to be cross platform capable.
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
|
2013-02-07 12:59:33 +01:00 |
|
Klaas Freitag
|
5b6d971055
|
No more platform specific code in csync_vio_local.
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
|
2013-02-06 15:11:41 +01:00 |
|
Klaas Freitag
|
390a307840
|
tests: Cleaned up some encoding tests.
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
|
2013-02-06 15:11:41 +01:00 |
|
Klaas Freitag
|
874a820426
|
Use correct variable type to make test build on win32.
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
|
2013-02-06 15:11:41 +01:00 |
|
Daniel Molkentin
|
9c0c693081
|
Add iconv support to convert charsets to different platforms.
|
2013-02-06 15:11:40 +01:00 |
|
Klaas Freitag
|
7d0acf9ba3
|
Encoding test and make all tests work cross platform.
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
|
2013-02-06 14:42:17 +01:00 |
|
Olivier Goffart
|
e75f11b87a
|
Use httpbf in owncloud
|
2013-01-29 16:23:28 +01:00 |
|
Andreas Schneider
|
c795010988
|
log: Use a thread local variable for logging callback.
|
2012-12-18 14:25:35 +01:00 |
|
Andreas Schneider
|
9a539526f1
|
log: Use a thread local variable for the log level.
|
2012-12-17 09:40:17 +01:00 |
|
Klaas Freitag
|
70a273eafd
|
Do not compile lock test for win32.
|
2012-12-10 21:15:45 +01:00 |
|
Daniel Molkentin
|
49d2fd685b
|
iconv support
This allows for files on mac to automatically be converted to UNC
|
2012-12-07 13:03:01 +01:00 |
|
Olivier Goffart
|
f946dd4287
|
Owncloud: cache the last PROPFIND call.
So we do not need to have two calls (stat+opendir)
|
2012-12-05 14:49:50 +01:00 |
|
Olivier Goffart
|
95edd6a9de
|
Merge remote-tracking branch 'origin/master' into dav
Conflicts:
config/ocsync_log.conf
src/csync.c
src/csync.h
src/csync_config.c
src/csync_log.h
src/csync_private.h
src/csync_statedb.c
tests/csync_tests/check_csync_config.c
|
2012-12-03 17:32:08 +01:00 |
|
Klaas Freitag
|
f90550775c
|
Fixed tests to also run on debian host
|
2012-11-23 12:51:01 +01:00 |
|
Klaas Freitag
|
3fcc56ebbc
|
Add removal of a test dir
|
2012-11-23 11:43:39 +01:00 |
|
Klaas Freitag
|
1147e77d67
|
Fix delete in csync_config
|
2012-11-23 11:26:24 +01:00 |
|
Klaas Freitag
|
d5a32543ef
|
Fix update test.
|
2012-11-09 17:24:17 +01:00 |
|
Klaas Freitag
|
7aeeeae037
|
Fix test, avoid double free.
|
2012-11-09 17:16:27 +01:00 |
|
Andreas Schneider
|
2752a9e9c0
|
tests: Remove the right directory in the teardown function.
|
2012-10-30 14:49:18 +01:00 |
|
Andreas Schneider
|
e3e00b4b32
|
tests: Add a csync_log test.
|
2012-10-30 11:39:51 +01:00 |
|
Andreas Schneider
|
dd60412a50
|
doc: Remove all references to log4c.
|
2012-10-30 11:27:21 +01:00 |
|
Andreas Schneider
|
8a0b4319d3
|
csync: Add a new logging system.
|
2012-10-30 11:27:21 +01:00 |
|
Andreas Schneider
|
890df87d00
|
csync: Add support for a log callback.
|
2012-10-30 11:27:20 +01:00 |
|
Klaas Freitag
|
2bb52ef6f9
|
Merge branch 'master' into dav - get cmocka tests and database move.
Conflicts:
CMakeLists.txt
cmake/Modules/FindCMocka.cmake
src/csync.c
src/csync_exclude.c
src/csync_reconcile.c
src/csync_statedb.c
src/csync_update.c
src/csync_util.c
src/vio/csync_vio.c
tests/CMakeLists.txt
tests/csync_tests/check_csync_exclude.c
tests/csync_tests/check_csync_statedb_load.c
tests/csync_tests/check_csync_statedb_query.c
tests/csync_tests/check_csync_update.c
tests/std_tests/check_std_c_path.c
|
2012-10-27 19:27:14 +02:00 |
|
Klaas Freitag
|
9e4c873b16
|
Fixed csync testcases.
|
2012-10-26 21:33:13 +02:00 |
|
Klaas Freitag
|
0cea891a98
|
Fix name of config file in log test case.
|
2012-10-26 11:53:29 +02:00 |
|
Andreas Schneider
|
e43466d09d
|
tests: Add exclude test for journal db names.
|
2012-10-22 15:13:52 +02:00 |
|
Klaas Freitag
|
01a25db3fb
|
exclude: Fix checking the exclude pattern for subdirs.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
2012-10-22 12:26:35 +02:00 |
|
Andreas Schneider
|
c24a18cbfd
|
cmake: Cleanup testing and enable test target.
|
2012-10-19 19:07:15 +02:00 |
|
Andreas Schneider
|
ac5855940a
|
tests: Remove the check_vio_local test.
It is tested by check_vio anyway.
|
2012-10-19 18:26:19 +02:00 |
|
Andreas Schneider
|
fafa632b65
|
tests: Migrate check_vio_handle to cmocka.
|
2012-10-19 18:21:37 +02:00 |
|
Andreas Schneider
|
7aa63e23aa
|
tests: Migrate check_vio_file_stat to cmocka.
|
2012-10-19 18:16:36 +02:00 |
|
Andreas Schneider
|
8d737287fb
|
tests: Migrate check_vio to cmocka.
|
2012-10-19 18:14:28 +02:00 |
|
Andreas Schneider
|
ecd944a162
|
tests: Migrate check_csync_update to cmocka.
|
2012-10-19 17:25:41 +02:00 |
|
Andreas Schneider
|
7c59ea2999
|
tests: Migrate check_csync_util to cmocka.
|
2012-10-19 16:10:30 +02:00 |
|
Andreas Schneider
|
b58bcb510d
|
tests: Migrate check_csync_time to cmocka.
|
2012-10-19 16:06:47 +02:00 |
|
Andreas Schneider
|
792be0f053
|
tests: Migrate check_csync_statedb_query to cmocka.
|
2012-10-19 15:53:22 +02:00 |
|
Andreas Schneider
|
aa227aa10b
|
tests: Migrate check_csync_statedb_load to cmocka.
|
2012-10-19 14:43:25 +02:00 |
|
Andreas Schneider
|
3b7104f514
|
tests: Migrate check_csync_lock to cmocka.
|
2012-10-19 14:29:10 +02:00 |
|
Andreas Schneider
|
eded4915e9
|
tests: Migrate check_csync_init to cmocka.
|
2012-10-19 10:57:40 +02:00 |
|
Andreas Schneider
|
3a179c8822
|
tests: Migrate check_csync_exclude to cmocka.
|
2012-10-18 15:17:24 +02:00 |
|
Andreas Schneider
|
ab5f38a680
|
cmake: Add check for asprintf().
|
2012-10-18 15:07:17 +02:00 |
|
Andreas Schneider
|
13df0426af
|
tests: Migrate check_csync_create to cmocka.
|
2012-10-17 17:46:45 +02:00 |
|
Andreas Schneider
|
b4eee0383d
|
tests: Migrate check_csync_config to cmocka.
|
2012-10-17 17:03:22 +02:00 |
|
Andreas Schneider
|
6dcb50d8ba
|
tests: Disable log test.
|
2012-10-16 17:23:07 +02:00 |
|
Andreas Schneider
|
1582067200
|
tests: Migrate check_std_c_tim to cmocka.
|
2012-10-16 17:06:46 +02:00 |
|