cartesi / machine-emulator

The off-chain implementation of the Cartesi Machine
GNU Lesser General Public License v3.0
64 stars 33 forks source link

Exit code should be non zero for kernel panics #144

Closed edubart closed 10 months ago

edubart commented 11 months ago

Context

Currently if the kernel panics, the cartesi-machine command exit status will be 0, this makes some of our tests in CI to assume that it passed.

mpolitzer commented 10 months ago

done in https://github.com/cartesi/linux/commit/9c1659c2edd58fb0484b660cde41f5ff4200cf17 and merged with https://github.com/cartesi/image-kernel/pull/22