mirror of
https://github.com/garethgeorge/backrest.git
synced 2026-09-23 16:35:38 +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:
@@ -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