Skip to content

[Benchmark] add sync #31

Open
Open

Description

@duncan020313

Add the sync benchmark, including its specification, implementation, proof, and GNU comparison tests, within the scope below.

Question Answer
Where is the GNU code? sync.c: main / sync_arg
What must I implement? Global no-operand sync; --help/--version and invalid option combinations including -d without operands.
What must the spec guarantee? Typed FilesystemSync(AllSyncTargets, SyncAllFilesystems) result; exact CLI diagnostics and exit. Persistence internals stay trusted.
Which APIs can I use? Typed filesystem request/result calls selected by this entry; path/kind queries where needed, output outcomes and diagnostics.
What is outside this task? All path-targeted modes: adapter lacks GNU write-only-open retry and open/sync/close failure-phase observations.

Source paths in the table are relative to coreutils/src/.

See implementation notes, common implementation rules, and the contribution workflow.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions