Files
erofs-freebsd-out-tree/tests/pre15/fixtures/B14-chunk-spec.json
T
2026-08-18 09:20:44 +02:00

99 lines
2.4 KiB
JSON

{
"schema": 1,
"batch": "B14",
"candidate": "P15-056",
"test": "TC174-chunk-nonregular",
"cases": [
{
"id": "directory-indexed32-external",
"fixture": "B14-good32.erofs",
"path": "/chunk-dir",
"vnode": "VDIR",
"operation": "lookup-readdir",
"device_id": 1,
"expected": "PASS"
},
{
"id": "symlink-indexed32-external",
"fixture": "B14-good32.erofs",
"path": "/chunk-link",
"vnode": "VLNK",
"operation": "follow-readlink",
"device_id": 1,
"expected": "PASS"
},
{
"id": "character-vnode-not-operational",
"fixture": "B14-good32.erofs",
"path": "/chunk-char",
"vnode": "VCHR",
"operation": "stat-open",
"device_id": 1,
"expected": "STAT_PASS_OPEN_EOPNOTSUPP"
},
{
"id": "directory-indexed48-zero-high",
"fixture": "B14-good48.erofs",
"path": "/chunk-dir",
"vnode": "VDIR",
"operation": "lookup-readdir",
"device_id": 1,
"expected": "PASS"
},
{
"id": "symlink-indexed48-zero-high",
"fixture": "B14-good48.erofs",
"path": "/chunk-link",
"vnode": "VLNK",
"operation": "follow-readlink",
"device_id": 1,
"expected": "PASS"
},
{
"id": "symlink-index-outside-device",
"fixture": "B14-bad-index.erofs",
"path": "/chunk-link",
"vnode": "VLNK",
"operation": "readlink",
"device_id": 1,
"expected": "EINTEGRITY"
},
{
"id": "symlink-index48-outside-device",
"fixture": "B14-bad-index48.erofs",
"path": "/chunk-link",
"vnode": "VLNK",
"operation": "readlink",
"device_id": 1,
"expected": "EINTEGRITY"
},
{
"id": "directory-reserved-nonzero",
"fixture": "B14-bad-reserved.erofs",
"path": "/chunk-dir",
"vnode": "VDIR",
"operation": "stat",
"device_id": 1,
"expected": "EINTEGRITY"
},
{
"id": "symlink-unsupported-format",
"fixture": "B14-bad-format.erofs",
"path": "/chunk-link",
"vnode": "VLNK",
"operation": "stat",
"device_id": 1,
"expected": "EOPNOTSUPP"
},
{
"id": "symlink-48bit-without-indexes",
"fixture": "B14-bad-48-no-index.erofs",
"path": "/chunk-link",
"vnode": "VLNK",
"operation": "stat",
"device_id": 0,
"expected": "EINTEGRITY"
}
]
}