FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

test: make test_ssdt / test_recovery pass on Windows by Epic34-cyberdudder · Pull Request #72 · riftaway7-code/hackmate · GitHub

test: make test_ssdt / test_recovery pass on Windows - #72

Closed
Epic34-cyberdudder wants to merge 1 commit into
riftaway7-code:mainfrom
Epic34-cyberdudder:test/windows-portability
Closed

test: make test_ssdt / test_recovery pass on Windows#72
Epic34-cyberdudder wants to merge 1 commit into
riftaway7-code:mainfrom
Epic34-cyberdudder:test/windows-portability

Conversation

Copy link
Copy Markdown

Two tests fail on a Windows checkout (green on POSIX / CI). This only widens them.

  • Acpi0007DetectionTests._inspect reopened a still-open NamedTemporaryFile, which fails on Windows — _inspect_dsdt then took its read-error path and the assertions failed. Write / close / inspect / unlink instead.
  • test_shared_command_builder_includes_output_directory hard-coded the POSIX string "/tmp/recovery"; it now compares against str(Path(...)) so it also passes where os.sep is a backslash. (macrecovery_args itself is unchanged and already correct.)

- Acpi0007DetectionTests._inspect reopened a still-open NamedTemporaryFile,
  which fails on Windows — _inspect_dsdt then hit its read-error path and
  the assertions failed. Write/close/inspect/unlink instead.
- test_shared_command_builder_includes_output_directory hard-coded the
  POSIX string "/tmp/recovery"; compare against str(Path(...)) so it also
  passes where os.sep is a backslash.

Both pass on POSIX today; this only widens them.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Epic34-cyberdudder closed this by deleting the head repository Aug 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL