mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-31 00:24:51 +00:00
run/signal: abort "many contexts" if manage fails
Previously, in the manage-many-contexts test we didn't test wether the manage operations succeed. Ref #1433
This commit is contained in:
parent
726e6b3e5d
commit
a5d043443d
@ -610,7 +610,10 @@ static void many_managed_contexts()
|
||||
|
||||
for (unsigned i = 0; i < num_contexts; ++i) {
|
||||
Id_signal_context *context = new (env()->heap()) Id_signal_context(i);
|
||||
rec.manage(context);
|
||||
if (!rec.manage(context).valid()) {
|
||||
PERR("failed to manage signal context");
|
||||
sleep_forever();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user