Introduce integration tests
nuta opened this issue · comments
Run a testing program on CI to check the functionality.
Closed by d156cb2
It's not entirely clear to me how these tests work. Do they only check the exit status of executed programs?
For now, yes. I think we can improve integration tests by, for example, checking if stdout/stderr are identical with the execution on Linux.
I agree, that sounds like a good idea. Is it ok if I start working on that task? I didn't advance much on the lseek
implementation, but I wanted to have a proper way to test it before.
Of course!
JFYI, integration tests are bundled in the initramfs image here:
Line 65 in abf990e
In addition to existing shell script based integration tests, I think it would be helpful to add a simple Rust binary to test system calls.