mirror of
https://github.com/garethgeorge/backrest.git
synced 2026-11-15 10:19:53 +00:00
fix: windows installation for restic 0.17.1 (#474)
Note: this fix relocates the restic binary on windows to C:\Program Files\backrest OR to the directory where backrest is installed (path relative).
This commit is contained in:
1 parent
d2650fdd59
commit
4da9d89749
3 files changed
+7
-10
No files matched your search
@@ -168,12 +168,8 @@ func TestResticPartialBackup(t *testing.T) {
|
||||
t.Fatalf("wanted summary, got: nil")
|
||||
}
|
||||
|
||||
if summary.TotalFilesProcessed != 0 {
|
||||
t.Errorf("wanted 0 files, got: %d", summary.TotalFilesProcessed)
|
||||
}
|
||||
|
||||
if !slices.ContainsFunc(entries, func(e BackupProgressEntry) bool {
|
||||
return e.MessageType == "error" && e.Item == unreadablePath
|
||||
return e.MessageType == "error" && strings.Contains(e.Item, unreadablePath)
|
||||
}) {
|
||||
t.Errorf("wanted entries to contain an error event for the unreadable file (%s), but did not find it", unreadablePath)
|
||||
t.Logf("entries:\n")
|
||||
|
||||
Reference in new issue
Block a user