test code v1
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
# Pre7 Helper-Alignment Baseline
|
||||
|
||||
## Repository Baseline
|
||||
|
||||
- Execution-start commit: `3f5f783b9f316af6d3887421251cc79909aed934`
|
||||
- Starting `repo-pre-7` tree: `909ffaa0f586a51933f4220a8fe67d963d5b1dff`
|
||||
- Starting `repo-pre-6` tree: `909ffaa0f586a51933f4220a8fe67d963d5b1dff`
|
||||
- Starting `repo-pre-7/src/internal.h` blob: `253a30a595f9740ce97de865cc6f255f8eda2b74`
|
||||
- Starting `repo-pre-7/src/inode.c` blob: `c753c14fdc48ae53e6dd2554cb9dc4a5b8a6c569`
|
||||
- Starting `repo-pre-7/src/xattr.c` blob: `cef4db2a8d03be028c0344941cea60def9cd84ce`
|
||||
- Execution target: the existing `repo-pre-7` directory
|
||||
|
||||
The tracked `repo-pre-7` baseline is an exact snapshot of `repo-pre-6` at the
|
||||
execution-start commit. The identities above were read from Git objects at
|
||||
that commit, not inferred from the live worktree.
|
||||
|
||||
Uncommitted changes were already present in `repo-pre-7/src/internal.h` and
|
||||
`repo-pre-7/src/inode.c` when this document was written. This baseline does
|
||||
not assess, validate, or claim completion of those changes.
|
||||
|
||||
## Exact Source Scope
|
||||
|
||||
Pre7 contains exactly two source tasks:
|
||||
|
||||
1. Rename the private inode-location helper from
|
||||
`erofs_nid_to_offset()` to `erofs_iloc()` in
|
||||
`repo-pre-7/src/internal.h` and `repo-pre-7/src/inode.c`. This is an
|
||||
identifier-only alignment; the FreeBSD signature, implementation,
|
||||
callers, metabox handling, overflow checks, and failure behavior remain
|
||||
unchanged.
|
||||
2. Extract the private `erofs_xattr_prefix()` mapping helper from
|
||||
`erofs_xattr_namespace_prefix()` in `repo-pre-7/src/xattr.c`. The existing
|
||||
wrapper retains FreeBSD namespace validation, namespace matching, errno
|
||||
selection, and all existing get/list call sites.
|
||||
|
||||
No other source file, helper cleanup, behavior change, public interface
|
||||
change, formatting pass, or deferred planning item belongs in Pre7.
|
||||
|
||||
## Validation Status
|
||||
|
||||
Per the current execution instruction, this baseline-recording step performs
|
||||
no build or test activity. Historical Pre6 evidence is not a Pre7 result.
|
||||
|
||||
| Validation item | Status |
|
||||
|---|---|
|
||||
| Pre7 source implementation validation | NOT RUN |
|
||||
| Static reference and behavior-matrix checks | NOT RUN |
|
||||
| Independent source-commit revert checks | NOT RUN |
|
||||
| `WITH_ZSTDIO=0` build | NOT RUN |
|
||||
| QEMU smoke testing | NOT RUN |
|
||||
| Manual or automated runtime tests | NOT RUN |
|
||||
| CI testing | SKIPPED |
|
||||
|
||||
This is an implementation baseline only. It is not a completion report and
|
||||
does not claim that either Pre7 source task is complete or correct.
|
||||
Reference in New Issue
Block a user