zig-coreutils icon indicating copy to clipboard operation
zig-coreutils copied to clipboard

Expectation tests

Open chadbrewbaker opened this issue 3 years ago • 2 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?

chadbrewbaker avatar Sep 12 '22 18:09 chadbrewbaker

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 :+1:

leecannon avatar Sep 12 '22 18:09 leecannon

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).

leecannon avatar Mar 22 '23 15:03 leecannon