diff --git a/lsyncd.lua b/lsyncd.lua index 2ff380d..b36031d 100644 --- a/lsyncd.lua +++ b/lsyncd.lua @@ -1082,17 +1082,17 @@ local Excludes = (function() if p:byte(-1) == 36 then -- ends with $ if path:match(p) then - log("Exclude", "'",path,"' matches '",p,"' (1)") + --log("Exclude", "'",path,"' matches '",p,"' (1)") return true end else -- end either end with / or $ if path:match(p.."/") or path:match(p.."$") then - log("Exclude", "'",path,"' matches '",p,"' (2)") + --log("Exclude", "'",path,"' matches '",p,"' (2)") return true end end - log("Exclude", "'",path,"' NOT matches '",p,"'") + --log("Exclude", "'",path,"' NOT matches '",p,"'") end return false end @@ -3247,7 +3247,6 @@ local default_rsyncssh = { elist, "/usr/bin/rsync", "<", zPaths, config.rsyncOps, - "-r", "--from0", "--files-from=-", config.source, diff --git a/tests/churn-rsyncssh.lua b/tests/churn-rsyncssh.lua index 16969f6..4d06cc5 100755 --- a/tests/churn-rsyncssh.lua +++ b/tests/churn-rsyncssh.lua @@ -5,10 +5,11 @@ require("posix") dofile("tests/testlib.lua") -cwriteln("****************************************************************") -cwriteln(" Testing default.rsyncssh with random data activity ") -cwriteln("****************************************************************") -cwriteln("(This test needs passwordless localhost access of current user)"); +cwriteln("****************************************************************"); +cwriteln(" Testing default.rsyncssh with random data activity "); +cwriteln("****************************************************************"); +cwriteln(" (this test needs passwordless ssh localhost access "); +cwriteln(" for current user)"); local tdir, srcdir, trgdir = mktemps()