Iotest tests command output against the expected results for the given input based on a testfile.
Usage:
iotest COMMAND TESTFILE...
Requires Zig v0.15.2.
zig build -Doptimize=ReleaseFast
input1
---
output1
===
input2
---
output2
The testfile consists of multiple testcases, each delimited by ===. Each
testcase includes input lines and expected output lines, separated by ---.