Skip to content

tests: harden mmap assertions to POSIX semantics#66

Merged
fwsGonzo merged 1 commit intovarnish:masterfrom
jlinenkohl:pr-u5-mmap-test-semantics
Apr 4, 2026
Merged

tests: harden mmap assertions to POSIX semantics#66
fwsGonzo merged 1 commit intovarnish:masterfrom
jlinenkohl:pr-u5-mmap-test-semantics

Conversation

@jlinenkohl
Copy link
Copy Markdown
Contributor

@jlinenkohl jlinenkohl commented Apr 2, 2026

Summary

  • Harden mmap unit tests to POSIX semantics.
  • Remove brittle/non-portable address reuse assumptions.

Why

  • Makes tests robust across host/kernel environments.

Validation

  • cd tests && bash run_unit_tests.sh -R test_mmap

Depends on

  • none

Stack Context

  • Independent PR; can merge anytime.

Test Evidence

  • Date: 2026-04-02
  • Branch-level validation source: phase14_audit baseline sweep
  • Full unit harness: cd tests && bash run_unit_tests.sh -> 8/8 passed
  • Integration tinytest lane: (cd guest/tests && bash build.sh) && ./build/tinytest guest/tests/glibc_test -> passed

PR-Scoped Command

  • cd tests && bash run_unit_tests.sh -R test_mmap
  • Expected standalone status: green (independent PR)

@jlinenkohl jlinenkohl marked this pull request as ready for review April 2, 2026 15:56
@fwsGonzo fwsGonzo merged commit a6dd45e into varnish:master Apr 4, 2026
4 checks passed
@jlinenkohl jlinenkohl deleted the pr-u5-mmap-test-semantics branch April 22, 2026 23:59
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.

2 participants