Skip to content

tests: allow system hang on assertion as expected test result #1678

Description

@etiaro

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions