fix borg source/ignore_missing test

This commit is contained in:
Jérôme Charaoui 2023-02-12 13:16:28 -05:00
parent 52e4a2e304
commit 51cd07781a
No known key found for this signature in database
GPG Key ID: 69C52F658E988542

View File

@ -219,15 +219,15 @@ finish_borg() {
} }
@test "check config parameter source/ignore_missing" { @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 source ignore_missing yes
setconfig dest archive testarchive setconfig dest archive testarchive
setconfig dest encryption none setconfig dest encryption none
setconfig dest compression zstd,16 setconfig dest compression zstd,16
delconfig dest passphrase delconfig dest passphrase
cleanup_backups local cleanup_backups local
( sleep 1; mv /var/cache/bntest/lib /tmp ) &
runaction runaction
mv /tmp/lib /var/cache/bntest
greplog "Info: Backing up source finished with missing file warnings." greplog "Info: Backing up source finished with missing file warnings."
} }