From beab86c96214050e27ddd4ee393e9777a6be91fa Mon Sep 17 00:00:00 2001 From: Nicolas KAROLAK <nicolas@karolak.fr> Date: Thu, 11 Oct 2018 15:28:22 +0200 Subject: [PATCH] fix(test): tast_backup follow symlink --- tests/test_backup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_backup.py b/tests/test_backup.py index de151b12..c1a96af9 100755 --- a/tests/test_backup.py +++ b/tests/test_backup.py @@ -162,7 +162,7 @@ def check_local_backups(paths: str) -> bool: all_ok = True folders = paths.split(",") for folder in folders: - cmd = "find {} -maxdepth 4 -name backup.marker".format(folder) + cmd = "find -L {} -maxdepth 4 -name backup.marker".format(folder) _, out = subprocess.getstatusoutput(cmd) for backup_folder in out.split("\n"): all_ok = min(check_local_backup(backup_folder), all_ok) -- GitLab