From abd6e3abd632bc783418419ffef11cfb7d72334f Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Mon, 20 Nov 2017 17:32:31 +0100 Subject: [PATCH] Update rsync() unit test slightly, does not verify MTIME yet ... Signed-off-by: Joachim Nilsson --- tests/rsync.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/rsync.c b/tests/rsync.c index 45f00a2..789619e 100644 --- a/tests/rsync.c +++ b/tests/rsync.c @@ -72,7 +72,8 @@ int run_test(void) #endif setup_test(); - result += rsync(BASE "src", DST, 0, NULL); + sleep(1); + result += rsync(BASE "src", DST, LITE_FOPT_KEEP_MTIME, NULL); check_tree("Only partial rsync of src <-- No slash!", BASE); #if 0 cleanup_test();