Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
backupninja
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Liberate
backupninja
Commits
51cd0778
Verified
Commit
51cd0778
authored
2 years ago
by
Jérôme Charaoui
Browse files
Options
Downloads
Patches
Plain Diff
fix borg source/ignore_missing test
parent
52e4a2e3
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
test/borg.bats
+2
-2
2 additions, 2 deletions
test/borg.bats
with
2 additions
and
2 deletions
test/borg.bats
+
2
−
2
View file @
51cd0778
...
@@ -219,15 +219,15 @@ finish_borg() {
...
@@ -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."
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment