backup: adapt test to changed error message

This commit is contained in:
Michael Eischer
2025-09-21 22:59:59 +02:00
parent d5dd8ce6a7
commit 3f7121e180

View File

@@ -1934,7 +1934,7 @@ func TestArchiverErrorReporting(t *testing.T) {
name: "parent-dir-missing",
targets: []string{"subdir/missing"},
src: TestDir{},
errStr: []string{"stat subdir: no such file or directory", "CreateFile subdir: The system cannot find the file specified"},
errStr: []string{"stat subdir: no such file or directory", "CreateFile subdir: The system cannot find the file specified", "GetFileAttributesEx subdir: The system cannot find the file specified"},
},
{
name: "parent-dir-missing-filtered",