thesis: Add abstract
This commit is contained in:
@@ -175,7 +175,7 @@ Usually, the program is expected to repeat the call until it gets a real return
|
||||
Therefore, testing correct handling of interrupts is a different type of test in contrast to general tests on return value checks as seen in Subsection~\ref{subsec:testing-return-value-checks}.
|
||||
|
||||
It is relatively simple to test if a program correctly handles interrupts.
|
||||
On any function call, that may yield \texttt{EINTR} mock the call and return exactly that error.
|
||||
On any function call that may yield \texttt{EINTR} mock the call and return exactly that error.
|
||||
Afterward, check if the same function is called again.
|
||||
To increase confidence in the result, one may repeat this process multiple times.
|
||||
As in the test in Subsection~\ref{subsec:testing-return-value-checks}, the handling of the interrupt may involve calls to other functions, so this method is not always the right choice.
|
||||
|
||||
Reference in New Issue
Block a user