Klaas Freitag
|
5d731f7530
|
CID 1033193: Fix resource leaks in statedb test.
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
|
2013-07-12 12:05:38 +02:00 |
|
Klaas Freitag
|
c40a3844e0
|
CID 1033194: Fix resource leak in stateedb test.
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
|
2013-07-12 12:03:51 +02:00 |
|
Klaas Freitag
|
e5089943ba
|
std: Check c_dir() not just with NULL.
|
2013-07-04 15:13:03 +02:00 |
|
Andreas Schneider
|
bd6608a33d
|
tests: Refactor treewalk test.
|
2013-07-04 15:11:26 +02:00 |
|
Andreas Schneider
|
cd23f8d2d1
|
CID 1033195: Fix resource leak.
|
2013-07-04 11:57:31 +02:00 |
|
Andreas Schneider
|
bd6a66d51e
|
tests: Fix a resource leak.
|
2013-07-04 11:55:55 +02:00 |
|
Klaas Freitag
|
f8e31b95b1
|
tests: Remove the db before db_none test to meet the test condition.
|
2013-07-04 11:34:43 +02:00 |
|
Klaas Freitag
|
fbfa3426e2
|
tests: Fix multibyte stat().
|
2013-07-04 11:30:54 +02:00 |
|
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 |
|
Klaas Freitag
|
ae5847138c
|
Fix test cases for the new database code.
|
2013-06-07 16:09:22 +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
|
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 |
|
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 |
|
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 |
|
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 |
|
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 |
|