Skip to content

#800: un-skip std.process command test; document net/symlink Windows gaps - #815

Merged
ropoctl merged 2 commits into
windows-unskip-802from
windows-unskip-800
Aug 17, 2026
Merged

ropoctl merged 2 commits into
windows-unskip-802from
windows-unskip-800

Conversation

@ropoctl

@ropoctl ropoctl commented Aug 17, 2026 •

Copy link
Copy Markdown
Collaborator

Stacked on #814.

Un-skips behav_std_process_command by making the test portable (it no
longer assumes a POSIX-only command surface), so std.process command
execution is now exercised on native Windows.

Also sharpens the justification on the two OS-surface tests that remain
genuinely blocked on Windows:

  • behav_net_loopback: std.net has no Windows backend —
    rt/windows_x86_64.w defines no with_net_* symbols, so this link-fails.
    Needs a Winsock implementation (WSAStartup/socket/bind/listen/accept/
    connect/send/recv/closesocket/getsockname).
  • behav_fs_remove_tree: symlink() needs Developer Mode or elevation on
    Windows (CreateSymbolicLinkW → ERROR_PRIVILEGE_NOT_HELD); an
    environment privilege gap, not a code bug.

The five action/capability tests (behav_action_capability_filesystem,
behav_action_capability_process, behav_action_crash_diagnostic,
behav_action_no_deps_isolation, behav_capability_token_mismatch) stay
skipped — they still fail on native Windows even with the p7 cwd fix
(tracked in #71).

@ropoctl
ropoctl force-pushed the windows-unskip-800 branch from 427f0e3 to 8f98ef9 Compare August 17, 2026 16:38
The test hardcoded /usr/bin/true and /bin/test, which do not exist on
Windows. Branch on os(): Windows exercises the same run/status/arg/PATH
surface with real System32 executables — `whoami` (always exits 0) and
`where` (exit 0 when a program is found, 1 when not). Verified on the
Windows x86_64 VM: rc=0 / "ok".
Two of the eight #800 tests are genuine Windows gaps, not stale skips, so
they keep skip-windows but with the root cause named inline:

- behav_net_loopback: std.net has no Windows backend at all — the runtime
  defines no with_net_* symbols on Windows, so the test link-fails. Needs a
  Winsock implementation.
- behav_fs_remove_tree: symlink() requires Developer Mode or elevation on
  Windows; CreateSymbolicLinkW returns ERROR_PRIVILEGE_NOT_HELD even though
  rt_symlink already passes ALLOW_UNPRIVILEGED_CREATE. Environment gap.

#800 stays open tracking these two.
@ropoctl
ropoctl force-pushed the windows-unskip-800 branch from 8f98ef9 to 33c9bfb Compare August 17, 2026 18:54
@ropoctl ropoctl changed the title #800: fix p7 build-harness cwd + un-skip 6 Windows OS-surface tests #800: un-skip std.process command test; document net/symlink Windows gaps Aug 17, 2026
@ropoctl
ropoctl merged commit aadc355 into main Aug 17, 2026
3 of 6 checks passed
@ehartford
ehartford deleted the windows-unskip-800 branch September 24, 2026 16:58
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