mirror of
https://0xacab.org/liberate/backupninja.git
synced 2024-11-08 11:52:32 +01:00
fix borg source/ignore_missing test
This commit is contained in:
parent
52e4a2e304
commit
51cd07781a
@ -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."
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user