Commit Graph

102 Commits

Author SHA1 Message Date
Daniel Poelzleithner
d779eb434f Allow lsyncd to be build in the source folder without breaking. Not recommended 2022-11-11 19:32:09 +01:00
Daniel Poelzleithner
818fd4115f also test executable files 2022-11-11 19:00:26 +01:00
Daniel Poelzleithner
f4c15496dc fix cron test 2022-11-11 18:26:57 +01:00
Daniel Poelzleithner
96a6276440 disable lua 5.4.4 due segfault on luac invocation 2022-11-11 18:05:50 +01:00
Daniel Poelzleithner
5096f27bbd Fix more warnings from static code analysis 2022-11-11 15:27:21 +01:00
Daniel Poelzleithner
945b57d8fb Add Cron test 2022-11-11 15:11:09 +01:00
Daniel Poelzleithner
cda98d6ba9 add Queue.inject, test Queue, bugfixes in remove() 2022-11-09 15:22:58 +01:00
Daniel Poelzleithner
82f9f27172 Add proper compatibilty wrappers for 5.1 2022-06-07 22:28:30 +02:00
Daniel Poelzleithner
5b8fa2deda don't export splitQuotedString 2022-06-03 06:45:38 +02:00
Daniel Poelzleithner
32e2cac8cc Add script to simulate fs changes 2022-06-03 06:45:38 +02:00
Daniel Poelzleithner
46188f9f60 Implement tunnel pool mode.
In this mode, multiple tunnel processes are started and connection a load
balanced on the pool of connections.

Example config:

...
sync {
  default.rsync,
  tunnel = tunnel {
    command = {"ssh", "-N", "-L", "localhost:${localport}:localhost:873", "user@testmachine"},
    mode = "pool",
    parallel = 2,
  },
  target    = "rsync://localhost:${localport}/test",
  ...
}
2022-06-03 06:44:02 +02:00
Daniel Poelzleithner
eda846deed Add function to return a free port 2022-06-03 06:44:01 +02:00
Daniel Poelzleithner
c543a21162 Add function to substitude commands with placeholders 2022-06-03 06:44:01 +02:00
Daniel Poelzleithner
f65cdd282d finish lua2.4 changes 2022-01-12 20:46:14 +01:00
Daniel Poelzleithner
938c702525 cleanup ssh server when aborting ci run 2021-12-10 12:20:18 +01:00
Daniel Poelzleithner
92af746a73 Enable CI 2021-12-09 14:37:30 +01:00
Daniel Poelzleithner
5212fd4794 don't depend on which. Add CI script 2021-12-09 13:50:15 +01:00
Daniel Poelzleithner
3e8aad3b2e Use sshopts for rsyncssh tests 2021-12-08 18:26:11 +01:00
Daniel Poelzleithner
5b0d266669 add cmd option to pass ssh options 2021-12-08 18:24:13 +01:00
Daniel Poelzleithner
4c3cf2e6af Use local ssh server for tests 2021-12-02 17:51:32 +01:00
Daniel Poelzleithner
564d54be76 Allow and default to relative paths for binaries executed 2021-12-02 17:51:15 +01:00
Axel Kittenberger
1094759975 adding filter to testsuite, removing #! from testsuite 2018-03-09 13:05:45 +01:00
Axel Kittenberger
ff0f4fbd7a fixing table.unpack issue in testsuite 2018-03-09 11:07:53 +01:00
Axel Kittenberger
ea068b4014 reverting to rsync filter useage, until rysnc bug is fixed 2017-02-16 12:17:37 +01:00
Axel Kittenberger
4c83a9b263 fixing test 2017-01-05 11:39:00 +01:00
Axel Kittenberger
0c5e2c707e new rsync control is no longer recursive, fixing excludes 2017-01-05 11:31:29 +01:00
Axel Kittenberger
1b09a56320 fixing test value 2017-01-05 10:40:32 +01:00
Axel Kittenberger
0a0fef20ac fixing typos 2017-01-05 10:10:55 +01:00
Axel Kittenberger
f6f360b9dc fixing test 2017-01-04 12:32:10 +01:00
Axel Kittenberger
ac5ef0474e fixing test 2017-01-04 12:25:38 +01:00
Axel Kittenberger
ac82ea4708 fixing test 2017-01-04 12:24:59 +01:00
Axel Kittenberger
dbe9935328 fixing test 2017-01-04 12:23:22 +01:00
Axel Kittenberger
4909dd3b2c fixing racecondition in default.rsyncssh 2017-01-03 15:30:13 +01:00
Axel Kittenberger
8e1a85a12d Splitted Delay combination log from logging about it. 2016-12-21 16:29:29 +01:00
Axel Kittenberger
ee50768743 reworking tests 2016-12-21 14:21:32 +01:00
Axel Kittenberger
837a3cd927 Fixed Delay changes potentially not reflect on Event layer. Fixed test exitcode 2016-12-21 13:11:55 +01:00
Axel Kittenberger
4c77666281 code cleanups 2016-12-06 13:19:35 +01:00
Axel Kittenberger
ccc492cac3 code cleanups, fixing exclusion test 2016-12-06 11:11:48 +01:00
Axel Kittenberger
2493476f64 fixing tests for lua 5.2 os.execute call semantics 2015-10-14 14:23:37 +02:00
Axel Kittenberger
824797645b beautified some tests 2012-11-23 16:04:43 +01:00
Axel Kittenberger
998f9ab3d0 adapting test scripts 2012-10-07 20:48:09 +02:00
Axel Kittenberger
1217fef9ba fixing default.direct regression 2012-10-07 19:49:33 +02:00
Axel Kittenberger
1bf1d13eaa new inheritance mechanics, code beautifications 2012-10-05 09:41:46 +02:00
Axel Kittenberger
8ff50c0a48 removed e2s to reduce weak tables logic complexity 2012-03-21 11:39:52 +01:00
Axel Kittenberger
8ad858f95a removed e2s to reduce weak tables logic complexity 2012-03-21 08:39:58 +01:00
Axel Kittenberger
d6688fc8ab just some superficial cleanup 2012-02-17 09:12:01 +01:00
Axel Kittenberger
5e4fdba53a fixing creation recursing 2012-02-16 16:49:34 +01:00
Axel Kittenberger
6faf99d952 better without -p 2012-02-16 16:16:32 +01:00
Axel Kittenberger
e2681c0088 Fixing all kind of quirks in tests for Created dirctories by moving recursing logic into delay() 2012-02-16 16:05:33 +01:00
Axel Kittenberger
83e1d22b2f move recursive Create creation on dirs into delays 2012-02-16 15:36:28 +01:00