Description
Test runner implementation does no allow for system hang as an expected test behavior, because teardown waits for a prompt and performs further actions which cannot be changed or altered.
Such test would require expecting a message printed and instant reboot without the typical teardown before proceeding to further tests.
Motivation
Kernel uses fatal assertions that hang infinitely in debug mode.
Some of the mechanisms triggering such fatal assertion, like system call input validation should be tested to avoid any regressions.
Description
Test runner implementation does no allow for system hang as an expected test behavior, because teardown waits for a prompt and performs further actions which cannot be changed or altered.
Such test would require expecting a message printed and instant reboot without the typical teardown before proceeding to further tests.
Motivation
Kernel uses fatal assertions that hang infinitely in debug mode.
Some of the mechanisms triggering such fatal assertion, like system call input validation should be tested to avoid any regressions.