From 2164d3b53dc5af78d35c4e9df0215a374ebdb7e5 Mon Sep 17 00:00:00 2001 From: Don Hardman Date: Thu, 22 Feb 2024 18:45:13 +0700 Subject: [PATCH] Make sure that extra files or folder that we add in stage of Docker build to data dir do not break tests --- tests/backup-restore-ok.rec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/backup-restore-ok.rec b/tests/backup-restore-ok.rec index 7f81ea8..8743fe3 100644 --- a/tests/backup-restore-ok.rec +++ b/tests/backup-restore-ok.rec @@ -102,7 +102,7 @@ Manticore config endpoint = http://%{IPADDR}:9312 %{DATETIME} [Error] Destination file already exists: /var/lib/manticore/manticore.json ––– input ––– -rm /var/lib/manticore/manticore.json +rm -fr /var/lib/manticore && mkdir -p /var/lib/manticore ––– output ––– ––– input ––– manticore-backup --backup-dir=/tmp --restore=backup-111