base-fiasco: silence recv_and_wait error messages

Errors during IPC receive-and-wait can occur at the server side when
a client is killed. This condition is not an error from the server's
perspective. We used to print a message nevertheless, since the
condition is rather exceptional. However, when printed during the
test-sequence test, the messages interfere with the pattern matching of
the depot_autopilot, flagging the successful test as an error.
This commit is contained in:
Norman Feske 2022-01-27 14:23:27 +01:00
parent df2e7fa842
commit 480c0a7dee

View File

@ -237,11 +237,8 @@ Genode::Rpc_request Genode::ipc_reply_wait(Reply_capability const &last_caller,
* error condition to the user but want to wait for the next proper
* incoming message.
*/
if (L4_IPC_IS_ERROR(ipc_result)) {
error("ipc_reply_and_wait error ", Hex(L4_IPC_ERROR(ipc_result)));
} else {
if (!L4_IPC_IS_ERROR(ipc_result))
need_to_wait = false;
}
}
while (need_to_wait) {