fix(release): stabilize Windows recovery self-test

This commit is contained in:
程序员阿江(Relakkes)
2026-07-18 20:20:34 +08:00
parent 34a3fcb22e
commit f8cccb096f
2 changed files with 21 additions and 4 deletions
@@ -22,6 +22,9 @@ describe('Windows installer recovery prerequisites', () => {
expect(recoveryHelper).toContain('Get-ChildItem -LiteralPath $current -Force')
expect(recoveryHelper).toContain("([string]$_.Name).Equals($segment")
expect(recoveryHelper).toContain("Join-Path $testRoot 'project~notes'")
expect(recoveryHelper).toContain("Join-Path $testRoot 'MISSIN~1'")
expect(recoveryHelper).toContain('possible 8.3 alias did not fail closed')
expect(recoveryHelper).toContain('existing 8.3 alias did not fail closed')
expect(recoveryHelper).toContain('legal long directory name containing a tilde')
expect(recoveryHelper).toContain('extended volume alias did not fail closed')
expect(recoveryHelper).toContain('SUBST alias did not fail closed')