# Test Case: pathconf Queries

**Test ID**: TC060-pathconf
**Category**: VFS Integration
**Priority**: High
**Latest Result**: PASS on exact cdba7e54f KLD; see
tests/results/manual/2026-08-09T1120Z-tc060-fix/manual-test-report.md and the
resolved issues/TC060-pathconf-standard-values.md.

## Objective

Verify direct pathconf(2) results for EROFS limits and read-only conventions.

## Procedure

Mount vfs/vfs-plain.erofs and run:

    ./g3_vfs_probe pathconf /tmp/repo22-g3/mnt/testdir

## Expected Results

The helper must exit zero and report name_max=255, a positive path_max,
filesizebits=64, a positive link_max, no_trunc=1, and chown_restricted=1.
EINVAL for either standard query is a kernel failure, not an environmental
skip. Record every value/errno and cleanup.
