diff --git a/default-rsync.lua b/default-rsync.lua index b36bf57..db781a4 100644 --- a/default-rsync.lua +++ b/default-rsync.lua @@ -188,13 +188,10 @@ rsync.action = function end end - local pathsS = table.concat( paths, '\n' ) - local paths0 = table.concat( paths, '\000' ) - log( 'Normal', 'Calling rsync with filter-list of new/modified files/dirs\n', - filterS + table.concat( paths, '\n' ) ) local delete = nil @@ -208,7 +205,7 @@ rsync.action = function spawn( elist, config.rsync.binary, - '<', filter0, + '<', table.concat( paths, '\000' ), config.rsync._computed, '-r', delete, diff --git a/tests/churn-rsyncssh.lua b/tests/churn-rsyncssh.lua index 33a179e..ddb49f8 100755 --- a/tests/churn-rsyncssh.lua +++ b/tests/churn-rsyncssh.lua @@ -35,7 +35,7 @@ local pid = spawn( cwriteln( 'waiting for Lsyncd to startup' ) posix.sleep( 1 ) -churn( srcdir, 50, false ) +churn( srcdir, 150, false ) cwriteln( 'waiting for Lsyncd to finish its jobs.' ) posix.sleep( 10 )