Artifact 3064edf4101551d1298aae3660f80d9e33dded55c107a505fd3f098667c74665:
- File
conformance/delta_range_unix_test.go
— part of check-in
[22b3a0f06d]
at
2026-10-13 04:51:36
on branch main
— test(conformance): cover artifact K, delta-lookup and delta-size requirements (#388)
* test(conformance): cover artifact K, delta-lookup and delta-size requirements
Single-name lookup in a delta manifest now follows artifact-format-01 8.4 (manifest.LookupFile), Marshal writes the K ticket ID lowercase (4.7.9), and new cases cover 3.1 size limits, 3.4 checksum mismatches and date-only timestamps. AF-6.3-5 and AF-7.1-2 stay uncovered with a reason in their rows.
* test(conformance): cover artifact K, delta-lookup and delta-size requirements (review fixes) (user: [email protected], size: 489) [annotate] [blame] [check-ins using]
//go:build unix package conformance import "syscall" // untouchedBuffer maps n anonymous zero bytes. Nothing reads them in the // cases that use it, so the pages are never committed: a 4 GiB input costs // address space only. func untouchedBuffer(n int) (buf []byte, release func(), err error) { buf, err = syscall.Mmap(-1, 0, n, syscall.PROT_READ, syscall.MAP_ANON|syscall.MAP_PRIVATE) if err != nil { return nil, nil, err } return buf, func() { _ = syscall.Munmap(buf) }, nil }