Repository navigation
Commit 3aa08be
committed
test(file-safety,mcp): pin the DACL fallback outcome and the deleteServer teardown
Review follow-ups:
- the win32 DACL-failure fallback test asserted only that a rename
happened; it now pins the commit rename onto the target path and
that a failed icacls save skips the restore step (execFile exactly
once). Renaming elsewhere or restoring after a failed save reddens
the test.
- the deleteServer symlink-policy fixture gave the connection empty
client/transport doubles: deleteConnection's close calls raised a
swallowed TypeError, so the teardown silently did nothing. Typed
close doubles now run to completion and the test asserts both
closes happened; reverting to empty doubles reddens exactly it.1 parent f9a7746 commit 3aa08be
2 files changed
Lines changed: 18 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
316 | 316 | | |
317 | 317 | | |
318 | 318 | | |
319 | | - | |
320 | | - | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
321 | 325 | | |
322 | 326 | | |
323 | 327 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1051 | 1051 | | |
1052 | 1052 | | |
1053 | 1053 | | |
| 1054 | + | |
| 1055 | + | |
| 1056 | + | |
| 1057 | + | |
| 1058 | + | |
| 1059 | + | |
1054 | 1060 | | |
1055 | 1061 | | |
1056 | 1062 | | |
| |||
1061 | 1067 | | |
1062 | 1068 | | |
1063 | 1069 | | |
1064 | | - | |
1065 | | - | |
| 1070 | + | |
| 1071 | + | |
1066 | 1072 | | |
1067 | 1073 | | |
1068 | 1074 | | |
| |||
1071 | 1077 | | |
1072 | 1078 | | |
1073 | 1079 | | |
| 1080 | + | |
| 1081 | + | |
| 1082 | + | |
| 1083 | + | |
1074 | 1084 | | |
1075 | 1085 | | |
1076 | 1086 | | |
| |||
0 commit comments