fix: harden thothctl Windows safe I/O

This commit is contained in:
2026-08-04 17:55:36 +02:00
parent f5468f0d36
commit c90299f24d
9 changed files with 175 additions and 32 deletions
@@ -0,0 +1,12 @@
package testsupport
import (
"errors"
"testing"
)
func TestSymlinkPrivilegeUnavailableDoesNotMatchUnrelatedErrors(t *testing.T) {
if isSymlinkPrivilegeUnavailable(errors.New("unrelated symlink failure")) {
t.Fatal("unrelated symlink failure was classified as a missing Windows privilege")
}
}