My working unpac space for OCaml projects in development
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add test data symlink and update STATUS.md

- Create symlink to vendor/git/snappy-c/testdata for corpus tests
- Document framing format compliance (reserved chunk handling, concatenation)
- Add note about testdata setup in STATUS.md
- All 62 tests now pass including corpus tests

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

+12
+11
STATUS.md
··· 27 27 - **Standard format**: Compatible with `.sz` files and other Snappy implementations 28 28 - **Stream identifier**: 10-byte magic header ("sNaPpY") 29 29 - **Chunk types**: Compressed (0x00), uncompressed (0x01), padding (0xfe) 30 + - **Reserved chunks**: Skippable chunks (0x80-0xfd) are ignored; unskippable chunks (0x02-0x7f) raise errors 31 + - **Concatenation support**: Multiple stream identifiers handled correctly for stream concatenation 30 32 - **CRC32-C checksums**: Per-block data integrity verification 31 33 - **Masked checksums**: Using standard Snappy masking algorithm 32 34 ··· 107 109 val compress_with_ctx : compress_ctx -> src:bytes -> src_pos:int -> src_len:int -> dst:bytes -> dst_pos:int -> int 108 110 ``` 109 111 112 + ## Test Data Setup 113 + 114 + The test suite uses corpus test data from the vendored snappy-c reference implementation: 115 + ```bash 116 + # Symlink already created: 117 + testdata -> vendor/git/snappy-c/testdata 118 + ``` 119 + 110 120 ## TODO 111 121 - [ ] Update placeholder author/maintainer info in dune-project 122 + - [ ] Add interoperability tests with external snappy implementations 112 123 113 124 ## Build & Test 114 125 ```bash
+1
testdata
··· 1 + vendor/git/snappy-c/testdata