2
0
mirror of https://github.com/deajan/osync synced 2024-11-03 15:40:14 +00:00
Commit Graph

519 Commits

Author SHA1 Message Date
deajan
b0e589ad78 Re-enabled tmp file deletion after debug 2016-12-08 09:00:58 +01:00
deajan
ce6b674ba3 Minor function renames 2016-12-08 08:58:56 +01:00
deajan
80cf34cedd Removed unnecessary code 2016-12-08 08:56:35 +01:00
deajan
c8e2c4e438 Fixed typo 2016-12-08 08:56:13 +01:00
deajan
731fc81abf Made ofunctions "includable" 2016-12-07 21:30:10 +01:00
deajan
7e44139325 Minor adjustment to _Logger 2016-12-07 11:45:34 +01:00
deajan
f14903cce5 Remote functions should not log to files 2016-12-07 09:06:28 +01:00
deajan
226bf33e29 Code compliance on ArrayContains 2016-12-06 23:24:02 +01:00
deajan
9735a83b35 Reverted test disable HandleLocks 2016-12-06 22:51:19 +01:00
root
ae16cefe54 Refactored CheckDiskSpace & CheckReplicaPath into CheckReplicas 2016-12-06 22:41:44 +01:00
root
59b8764da6 Merged CreateStateDirs, CheckLocks and WriteLocks into HandleLocks 2016-12-06 21:32:27 +01:00
deajan
00ae0f5fda Fixing remote third party check url not set right 2016-12-06 14:00:48 +01:00
root
54cf89cb27 Force bash as remote shell. Also refactor remote soft deletion and fix directory ctime find 2016-12-06 13:30:05 +01:00
deajan
9246c2aa6e Simplified test suite 2016-12-06 09:23:43 +01:00
deajan
372834cfee Removed spam email sending on unit tests 2016-12-05 23:30:53 +01:00
deajan
2d4b8cf572 Fixed typo 2016-12-05 23:28:43 +01:00
deajan
39fc865db9 Added detected os string 2016-12-05 20:06:00 +01:00
deajan
653ff919c3 SSH_PORT is now an environment variable 2016-12-05 20:03:53 +01:00
deajan
5db2f8e594 Fixed inverted symlink tests 2016-12-05 12:22:59 +01:00
deajan
d655f942b1 Removed some tests from travis because of time limit 2016-12-05 11:23:48 +01:00
deajan
eaef234a8a Added symlink / broken symlink tests 2016-12-04 18:57:39 +01:00
deajan
4d490697c4 Fixed batch did only pass last argument 2016-12-04 11:31:02 +01:00
deajan
48a1fcd065 Rebuilt targets 2016-12-04 11:15:57 +01:00
deajan
ed1a4c152a Removed unnecessary comments 2016-12-04 11:15:27 +01:00
deajan
3dcdeb20b1 Removed unnecessary code 2016-12-04 11:12:55 +01:00
deajan
bdf72843ee Added ofunctions header for next branch identification 2016-12-04 11:11:35 +01:00
deajan
078d47403f Reorganized function chronology 2016-12-04 11:10:02 +01:00
deajan
3a414da41d Program finish should always be logged 2016-12-04 10:58:53 +01:00
deajan
a87c44b9dc Rendered WaitForTaskCompletion global output thread safe 2016-12-03 10:40:30 +01:00
deajan
3128cb1841 Added global var HARD_MAX_EXEC_TIME_REACHED 2016-12-03 10:06:15 +01:00
deajan
3d8f20d2ed Removed more unnecessary comments 2016-12-03 09:59:59 +01:00
deajan
52e7921b53 Quick semantic update for soft stop 2016-12-03 09:53:44 +01:00
deajan
a7e41410e9 Removed unnecessary comments 2016-12-03 09:47:51 +01:00
deajan
88b135118d Coped with really old TODO fixing rsyncpatterns when path separator isn't semicolon 2016-12-03 09:39:09 +01:00
deajan
569d5f63a2 Emulate earlier batch behavior by adding maxdepth 1 to find 2016-12-03 09:34:26 +01:00
deajan
3f278173c1 Simplified batch runner, also less error prone 2016-12-01 23:14:22 +01:00
deajan
6f94429f52 More clear log output 2016-12-01 22:18:03 +01:00
deajan
01c62aa4ca Multiple recipient compat for mutt 2016-12-01 21:27:28 +01:00
deajan
edc358f2ff Finish work on symlink detection in treeList 2016-12-01 21:14:07 +01:00
deajan
651bf48990 Added symlink support in deletion propagation 2016-12-01 20:51:45 +01:00
deajan
33f985b751 WIP: getting treeList to work with or without symlinks 2016-12-01 20:20:55 +01:00
deajan
9bb849dec7 Quick paranoia debug fix 2016-12-01 19:50:06 +01:00
deajan
2cb5084d8b WIP on treeList in order to list but bypass bad symlinks 2016-12-01 19:24:01 +01:00
deajan
175df3d81e More explicit error message in treeList 2016-12-01 09:51:06 +01:00
deajan
bd12d809c9 Updated unit tests 2016-11-30 13:50:49 +01:00
deajan
7ca8bbc902 Updated tests with v1.1 branch timed execution tests 2016-11-30 13:02:01 +01:00
deajan
8e89b3dd82 Disabled mail sending on travis tests 2016-11-30 09:42:48 +01:00
deajan
b8f38152d5 Soft time alerts aren't anymore redundant when counting=false 2016-11-29 22:43:28 +01:00
deajan
be852ca7df Better time control in sync function 2016-11-29 22:40:43 +01:00
deajan
e15587524b Finished adding timed execution tests 2016-11-29 22:40:10 +01:00
deajan
3371e9a8f3 Improved timed execution tests 2016-11-29 20:28:15 +01:00
deajan
745688d982 Improved timed execution of sync function 2016-11-29 20:28:00 +01:00
deajan
8ee4b824da Work on WaitForTaskCompletion hard exec time 2016-11-25 22:15:27 +01:00
deajan
8500bfa5d9 Work on WaitForTaskCompletion ongoing 2016-11-25 22:15:03 +01:00
deajan
e4026f537e Rebuilt targets 2016-11-24 14:50:48 +01:00
deajan
42b0c8d406 Batch mode does not produce stdout/stderr output 2016-11-24 14:48:41 +01:00
deajan
0c1215059d Simplified osync-batch program 2016-11-24 14:43:05 +01:00
deajan
37e294161a Fixed bogus busybox detection 2016-11-24 14:27:04 +01:00
deajan
bda1c158d0 Reenabled all tests 2016-11-24 13:33:26 +01:00
deajan
804a284cb3 Updated parallelexec and fixed soft max time enforcement 2016-11-24 13:26:32 +01:00
deajan
507122b08f Added more parallelexec tests 2016-11-24 13:26:10 +01:00
deajan
0baed43267 Updated osync with new WaitForTaskCompletion syntax 2016-11-24 09:40:55 +01:00
deajan
a0fd7941c7 Changed to more clear WaitForTaskCompletion & ParallelExec argument list 2016-11-24 09:40:33 +01:00
deajan
3a3e7cfa02 Disabling ACL / XATTR on Mac & msys 2016-11-22 19:45:53 +01:00
deajan
c460eac640 Initial cygwin test compat 2016-11-22 19:24:51 +01:00
deajan
f45911a548 Fixed summary does reset logger prefix 2016-11-22 19:08:05 +01:00
deajan
c3013347bb Fixing OS detection on Cygwin 2016-11-22 19:02:13 +01:00
deajan
b3d17f8fec Fixed WinNT10 detection 2016-11-22 18:50:09 +01:00
deajan
15630c4b6d msys/cygwin don't know about process states 2016-11-22 18:18:35 +01:00
deajan
7e8463ec50 Fixing typos 2016-11-22 17:43:43 +01:00
deajan
9fb9d3504e Added Win10 bash detection 2016-11-22 17:41:06 +01:00
deajan
2f9f2f4f57 Added Win10 bypass for some tests 2016-11-22 17:40:47 +01:00
deajan
6d0e7cd0c7 Updated WaitForTaskcompletion to emulate wait 2016-11-22 17:19:30 +01:00
deajan
da302b0f3a inotifywait timeout emulation only needed on mac 2016-11-22 17:18:35 +01:00
deajan
2fd60182c0 Fixing softdel cleanup test...Again 2016-11-22 08:56:13 +01:00
deajan
23bb0ac804 Safer conflict multiple test 2016-11-21 19:41:35 +01:00
deajan
85466e0ab0 Added MAX_WAIT support for MacOS daemon mode 2016-11-21 19:18:22 +01:00
deajan
070d7b7e3a Wow... fixed the fix that should have fixed the bug 2016-11-21 19:13:15 +01:00
deajan
a3c5df9a85 Feeling stupid for this basic error 2016-11-21 18:38:43 +01:00
deajan
b8cf2e2694 Fixed skip tests logic for BSD & Mac 2016-11-21 17:31:02 +01:00
deajan
d55ecf7781 Added QaD daemon mode for Mac 2016-11-21 17:02:05 +01:00
deajan
33b103a64c Cosmetic typo fix 2016-11-21 16:34:31 +01:00
deajan
eb9b34c22d Disabled all debugfs related tests on BSD / Mac / Travis 2016-11-21 16:33:22 +01:00
deajan
2b8fe18217 Disable ACL and XATTR preserve by default on Mac 2016-11-21 15:13:15 +01:00
deajan
07f31e6b1e Fixed mkdir syntax to be BSD / Mac compatible 2016-11-21 15:12:52 +01:00
deajan
eec2df90e3 Fixed old executability exclusion on MacOS 2016-11-21 14:48:02 +01:00
deajan
4dd007ae56 Render SendEmail function MacOS compatible 2016-11-21 14:04:05 +01:00
deajan
a0c1ad5a20 Reenabled all tests 2016-11-21 13:45:37 +01:00
deajan
f10feb9806 Fix for BSD skip deletion test 2016-11-21 13:42:10 +01:00
deajan
6987a7f0f3 Better check if remote deletion file is present 2016-11-21 13:21:26 +01:00
deajan
5d7e54c743 Remote deletion log is always ERROR level 2016-11-21 11:34:54 +01:00
deajan
ec95b8683c Added missing log from remote deletion 2016-11-21 10:55:35 +01:00
deajan
58037d2d9a Reverted to a should-build state 2016-11-21 10:25:08 +01:00
deajan
3fbcc4a4c7 More ACL testing 2016-11-21 10:19:21 +01:00
deajan
c74078d122 More travis ACL testing 2016-11-21 10:12:11 +01:00
deajan
25aa245191 More travis ACL / chattr tests 2016-11-21 10:04:00 +01:00
deajan
3304814bcd More travis ACL / setuid tests 2016-11-21 09:59:17 +01:00
deajan
384b9b9582 Added unit tests that will fail to trigger travis errors 2016-11-21 09:47:45 +01:00
deajan
5ec5d01dca Fixed possible issue if global var toggle is used 2016-11-20 22:18:36 +01:00
deajan
4bae4fa917 Render setfacl BSD compatible 2016-11-20 21:47:56 +01:00