# Test Case: Readdir - Basic Completeness

**Test ID**: TC046-readdir-basic
**Category**: Directory Operations
**Priority**: Critical

## Objective

Verify one complete getdirentries(2)/readdir(3) traversal returns the exact
fixture set, including dot and dotdot.

## Procedure

Mount vfs/vfs-plain.erofs and run:

    ./readdir_probe /tmp/repo22-g3/mnt/testdir 4096
    find /tmp/repo22-g3/mnt/testdir -maxdepth 1 -mindepth 1 -print |
      sed 's#.*/##' | sort > actual-testdir.txt
    cmp fixtures/vfs/expected-testdir.txt actual-testdir.txt

## Expected Results

The manifest comparison is exact; the probe reports 36 unique entries and the
same ordered name/type hash through both APIs. Record the image hash and
cleanup.
