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

609 Commits

Author SHA1 Message Date
deajan
7bc93df5e6 Fixed RemoteLogger debugging 2016-12-11 17:07:34 +01:00
deajan
76512b5a13 Added _OFUNCTIONS_BOOTSTRAP subset 2016-12-11 14:58:52 +01:00
deajan
882cd7099e Bootstrap test 2016-12-11 14:57:02 +01:00
deajan
47c887a78e Updated coding style 2016-12-11 14:55:55 +01:00
deajan
8bce416b62 Fixed typo 2016-12-11 14:52:09 +01:00
deajan
e834059721 Multiple error detection fixes 2016-12-11 14:45:01 +01:00
deajan
f607cd9ab2 Quick _SoftDeleteLocal refactor 2016-12-11 14:36:26 +01:00
deajan
cc4636e298 Remote logging debug improvements 2016-12-11 14:29:17 +01:00
deajan
cdde314029 Code compliance 2016-12-11 14:26:48 +01:00
deajan
991734de03 Moving coding style 2016-12-11 14:25:54 +01:00
deajan
63bee68be0 Added android to OS exclusion list for ACL sync 2016-12-11 11:48:41 +01:00
deajan
f11cc81c01 File attrib skip logic fix 2016-12-11 11:38:36 +01:00
deajan
0761f15b22 Switched to new rsync compression, added excluded extensions, fix ACL for busybox 2016-12-11 11:33:42 +01:00
deajan
852ff0adf5 Reverted openssl silent becauce sendmail: NOOP failed 2016-12-10 18:40:36 +01:00
deajan
d2be7e43a8 Fixing typos and rendering openssl silent 2016-12-10 18:39:25 +01:00
deajan
c9635d48d3 Fixed ambiguous redirect 2016-12-10 18:37:18 +01:00
deajan
c5d83a18bf quick and dirty debug test 2016-12-10 18:31:39 +01:00
deajan
4e61b23cc5 Various typo fixes + arrayToString fix 2016-12-10 18:27:56 +01:00
deajan
72dfd4e94c Fixes in android email sending 2016-12-10 18:07:00 +01:00
deajan
9beeffe3bb Added bootstrap termux-fix-shebang 2016-12-10 17:56:03 +01:00
deajan
a7393818d4 Debug code to resolve random thrown error alert 2016-12-10 10:57:25 +01:00
deajan
9bce1a7f1c Less code for spinner 2016-12-09 21:54:42 +01:00
deajan
4308678cc2 Smaller spinner code 2016-12-09 21:44:57 +01:00
deajan
b715343b46 Merge forced_bash into master 2016-12-09 19:26:58 +01:00
deajan
4c61d0c53d Ye 2016-12-09 19:25:23 +01:00
deajan
738c11e315 Disabled symlink tests on msys 2016-12-09 19:22:14 +01:00
deajan
229a9800cc Make difference between msys and cygwin 2016-12-09 19:19:52 +01:00
deajan
d15069a85b More FreeBSD acl fix 2016-12-09 19:01:58 +01:00
deajan
a08ce8904b Reverted bogus var name change 2016-12-09 17:10:04 +01:00
deajan
be0d0ab8d9 Fixed daemon exclusions 2016-12-09 11:04:56 +01:00
deajan
435b597513 Workaround for FreeBSD inotifywait only wants one exclude 2016-12-08 22:10:54 +01:00
deajan
a543099eed Added msys2 detection and bootstrap safe code 2016-12-08 22:06:36 +01:00
deajan
61adfc6c6f Workaround for FreeBSD 11 get ctime default shell 2016-12-08 21:59:52 +01:00
deajan
7033337984 Quick fix for remaining tmp file after ParallelExec test 2016-12-08 20:36:13 +01:00
deajan
696140b575 Another msys fix 2016-12-08 12:09:52 +01:00
deajan
97eee22944 Added env for csh... Fuck you csh ! 2016-12-08 11:36:55 +01:00
deajan
15c49f3aa4 Removed typo 2016-12-08 11:04:51 +01:00
deajan
d6b5fcc20f Added pgrep test 2016-12-08 10:59:07 +01:00
deajan
31b1f0791a Added comment 2016-12-08 10:58:59 +01:00
deajan
467cb717ad Some msys fixes 2016-12-08 10:53:47 +01:00
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
deajan
2a1ab2b40f More BSD love 2016-11-20 20:56:47 +01:00
deajan
8190bef067 Fix for failed deletion repropagation in BSD 2016-11-20 19:25:19 +01:00
deajan
5663403ddc Added forgotten cat 2016-11-20 18:57:51 +01:00
deajan
70e9936fd1 More BSD compat 2016-11-20 18:18:07 +01:00
deajan
85367b4b2f Improved unit tests compat with BSD 2016-11-20 18:04:32 +01:00
deajan
0718eb6f60 More optional checks to remove if not paranoia debug 2016-11-20 17:43:13 +01:00
deajan
f8015b735a Rendered merge BSD compatible 2016-11-20 17:41:52 +01:00
deajan
1a680e04ac Added more ACL tests 2016-11-20 17:22:03 +01:00
deajan
aa465f8365 Rebuilt targets 2016-11-19 16:16:35 +01:00
deajan
9194e004d3 Enabled other tests again 2016-11-19 15:09:58 +01:00