From 0a0fef20ac52504a23b4dc3e76eb473ca7f1fd53 Mon Sep 17 00:00:00 2001 From: Axel Kittenberger Date: Thu, 5 Jan 2017 10:10:55 +0100 Subject: [PATCH] fixing typos --- default-rsync.lua | 7 ++----- tests/churn-rsyncssh.lua | 2 +- 2 files changed, 3 insertions(+), 6 deletions(-) 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 )