From 51cd07781a46f9d9d92d520435ff6c2e299f4756 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Charaoui?= <jerome@riseup.net>
Date: Sun, 12 Feb 2023 13:16:28 -0500
Subject: [PATCH] fix borg source/ignore_missing test

---
 test/borg.bats | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/borg.bats b/test/borg.bats
index 10fc7e2..f04874b 100644
--- a/test/borg.bats
+++ b/test/borg.bats
@@ -219,15 +219,15 @@ finish_borg() {
 }
 
 @test "check config parameter source/ignore_missing" {
+    delconfig source include
+    setconfig_repeat source include "$BN_SRCDIR/boot" "$BN_SRCDIR/etc" "$BN_SRCDIR/lib" "$BN_SRCDIR/var" "$BN_SRCDIR/foo"
     setconfig source ignore_missing yes
     setconfig dest archive testarchive
     setconfig dest encryption none
     setconfig dest compression zstd,16
     delconfig dest passphrase
     cleanup_backups local
-    ( sleep 1; mv /var/cache/bntest/lib /tmp ) &
     runaction
-    mv /tmp/lib /var/cache/bntest
     greplog "Info: Backing up source finished with missing file warnings."
 }
 
-- 
GitLab