Π“Ρ€Π°Ρ„ ΠΊΠΎΠΌΠΌΠΈΡ‚ΠΎΠ²

22272 ΠšΠΎΠΌΠΌΠΈΡ‚ΠΎΠ²

Автор SHA1 Π‘ΠΎΠΎΠ±Ρ‰Π΅Π½ΠΈΠ΅ Π”Π°Ρ‚Π°
Andreas Schneider 8fc9e93ee0 Respect return value of fscanf. 2008-05-08 16:16:55 +02:00
Andreas Schneider 393c3ce9db Initialize variables. 2008-05-08 16:07:15 +02:00
Andreas Schneider 46bedd6285 Remove obsolete definition. 2008-05-08 15:07:32 +02:00
Andreas Schneider e76c2db9f6 Fix directories for exclude tests. 2008-05-08 10:56:08 +02:00
Andreas Schneider 9dbd938791 Set the default buildtype to RelWithDebInfo. 2008-05-07 15:38:04 +02:00
Andreas Schneider d0a6e9221b Fix tests and remove developer mode.
This allows to run all tests without the need for a special developer
mode.
2008-05-07 15:33:55 +02:00
Andreas Schneider c7b77fab5b Add stackprotector flag and check for fourtify source. 2008-05-07 11:42:45 +02:00
Andreas Schneider b1f8ab38c9 Fix null termination. 2008-05-07 11:29:48 +02:00
Andreas Schneider e41e8e1610 Add commandline parsing to all tests. 2008-05-07 11:09:56 +02:00
Andreas Schneider 7b6be113ea Add commandline options support for testcases.
This adds a simple possibility to run the test not in the fork mode.
2008-05-07 10:56:36 +02:00
Andreas Schneider 97c951e531 Use c99 syntax for structs. 2008-05-07 10:55:08 +02:00
Andreas Schneider c9745ab851 Add csync.time logging category. 2008-05-06 17:48:26 +02:00
Andreas Schneider 014346f2bb Fix typo. 2008-05-06 15:41:52 +02:00
Andreas Schneider 6af37010cd Fix a stack smash. 2008-05-06 14:31:36 +02:00
Andreas Schneider de0a689b12 Fix build script.
/bin/bash must be the first line.
2008-05-06 11:18:56 +02:00
Andreas Schneider 1f48d22f24 Add cmake 2.6 compatible FindCheck module. 2008-05-06 11:18:20 +02:00
Andreas Schneider 93df0adc08 Fix bug in generate_findpackage_file script. 2008-05-06 11:17:53 +02:00
Andreas Schneider a1116b0e00 Add a module to find libdl.so. 2008-05-06 10:54:15 +02:00
Andreas Schneider fc6a5ce222 Add CMake 2.6 compatible FindSqlite3 module. 2008-05-06 10:53:42 +02:00
Andreas Schneider 7e9cf16825 Fix CMake 2.6 warnings. 2008-05-06 10:51:12 +02:00
Andreas Schneider c9b34b8aae Add cmake 2.6 support for generate_findpackage_file. 2008-05-06 10:50:25 +02:00
Andreas Schneider a472014d8b Install the client binary. 2008-05-05 17:52:19 +02:00
Andreas Schneider c08ec25f5b Add a new version for the sqlite3 find module. 2008-05-05 17:32:11 +02:00
Andreas Schneider dce6278a1d Change set right version. 2008-05-05 13:53:07 +02:00
Andreas Schneider 4fb4ff84a8 Add a journal testing mode to the client. 2008-05-05 11:09:16 +02:00
Andreas Schneider ad67b21062 Use always the same path for testing. 2008-05-05 10:55:05 +02:00
Andreas Schneider cfe0888771 Initialize the variables and create remote uri. 2008-05-05 10:48:34 +02:00
Andreas Schneider c318daed7f Add time difference check to the init function. 2008-05-05 10:48:05 +02:00
Andreas Schneider 20da2351cf Add function to calculate the time difference between the replicas. 2008-05-05 10:35:38 +02:00
Andreas Schneider 94fbdc1d04 Remove in source iniparser library and require system lib. 2008-05-01 10:01:34 +02:00
Andreas Schneider 5a2fa7f563 Fix a segfault if we don't find an exlcude list. 2008-04-30 16:36:54 +02:00
Andreas Schneider 25e300c462 Implement detection of updates. 2008-04-30 16:24:50 +02:00
Andreas Schneider b9c3009445 Add function to get file info by hash or inode. 2008-04-30 16:23:42 +02:00
Andreas Schneider 648c93ba7d Add a function to get a string from an instruction code.
This needed for human readable debugging messages.
2008-04-30 16:22:48 +02:00
Andreas Schneider 12764c6778 Call the shutdown function of the plugin before closing. 2008-04-30 13:10:18 +02:00
Andreas Schneider 2fe557af62 Change the debug message. 2008-04-30 13:09:44 +02:00
Andreas Schneider f1078daa08 Create indexes. 2008-04-30 12:45:03 +02:00
Andreas Schneider 8ffce13e0e Check return value of result and free it. 2008-04-30 12:44:40 +02:00
Andreas Schneider f2145a0e92 Fix testcase for insert metadata. 2008-04-30 12:33:18 +02:00
Andreas Schneider d57b2fed12 Always close the db, sqlite3_close() has to free memory. 2008-04-30 12:32:35 +02:00
Andreas Schneider ea9819da6c Add missing log categories. 2008-04-30 10:42:36 +02:00
Andreas Schneider 6ba2a31f04 Add missing tests for journal. 2008-04-30 10:39:23 +02:00
Andreas Schneider dc5b9853a7 Add missing return value check. 2008-04-30 10:39:08 +02:00
Andreas Schneider 8503dcbb1d Adapt exclude list for updated csync_exclude.conf. 2008-04-29 15:54:41 +02:00
Andreas Schneider bb5694ea9b Add a line to the README :) 2008-04-29 14:32:41 +02:00
Andreas Schneider 997ec6db98 Speedup the journal creation and adapt the testcases. 2008-04-29 14:21:16 +02:00
Andreas Schneider 3df40b205e Fix return value of csync_journal_load and add sqlite3 optimization. 2008-04-29 14:19:50 +02:00
Andreas Schneider 669c2f8478 Check for the right value in the database. 2008-04-29 14:19:10 +02:00
Andreas Schneider c502634107 Measure time of the journal creation. 2008-04-29 14:07:18 +02:00
Andreas Schneider 27fb5d9128 Fix several bugs in the journal query function. 2008-04-29 11:42:20 +02:00