leecannon / zig-coreutils

A single executable implementation of various coreutils.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Expectation tests

chadbrewbaker opened this issue · comments

I wanted to hack on some coreutils to teach myself Zig.

I was going to start by pulling in the Rust MIT license coreutils shell expectation tests and GNU shell expectation tests to run the Zig binaries under.

Any particular way you wanted this organized?

I've been busy with other things recently, so haven't been about to give this project any love.

Any improvements you can make go right ahead, i'll help in anyway I can 👍

This is now a lot more important as the complication that was added by abstracting the system away using https://github.com/leecannon/zsw was way too much so I removed it.

For example I thought about using mmap in groups to mmap the files to remove allocations but that would mean I would have to implement support for mmap in zsw (which ain't happening).