Sign in

    test

    test command for MoonX.

    command-line
    moonx
    wasm
    Download zip
    Author
    Version
    0.2.1
    License
    Apache-2.0
    Last updated
    8 hours ago
    Downloads
    33

    Dependencies

    #test

    Version 0.2.1 behavior is documented here. The support record separates local verification from published MoonX behavior; moonx examples use registry releases.

    Evaluate string, integer, file-kind, access, size, and nanosecond timestamp predicates. In addition to -e/-f/-d/-r/-w/-x, the portable profile supports -L/-h, -p/-S/-b/-c, -s, -N, and -nt/-ot. Logical negation, AND (-a), OR (-o), and parentheses are supported. Exit status is 0 for true, 1 for false, and 2 for an invalid expression or runtime error. Missing files are false; newer/older comparisons use GNU missing-side semantics.

    Timestamp comparisons and positive special-file predicates are implemented, but their complete backend/host combinations still need independent probes. -t terminal detection, permission-bit/owner predicates, and same-file -ef are not implemented. Public async file kind/time/access reads do not imply public file identity or mode reads. File-access authorization belongs to the caller or host.

    #Standalone metadata

    Standalone --version prints exactly test 0.2.1 followed by one newline. Standalone --help starts with Usage: test, lists both metadata options, and ends with a newline. Both write to stdout, leave stdin unread, and exit with status 0. Exact-version publication and verification remain recorded separately in the support record.

    Source Files

    Powered by MoonBit

    Site sourceReport issuePackagesBuild queueSkillsStatistics

    © 2026 mooncakes.io