mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-20 09:46:20 +00:00
parent
6ec8824d75
commit
375a7c701a
@ -122,7 +122,7 @@ void Libc::Component::construct(Libc::Env &env)
|
||||
;
|
||||
if (++success_cnt >= 5) {
|
||||
log("Test done");
|
||||
return;
|
||||
env.parent().exit(0);
|
||||
}
|
||||
} else
|
||||
break;
|
||||
@ -132,4 +132,5 @@ void Libc::Component::construct(Libc::Env &env)
|
||||
lwip_close(s);
|
||||
}
|
||||
log("Test failed");
|
||||
env.parent().exit(-1);
|
||||
}
|
||||
|
@ -78,8 +78,10 @@ void Libc::Component::construct(Libc::Env &env)
|
||||
log("Received \"", String<64>(buf), " ...\"");
|
||||
if (++success_cnt >= 5) {
|
||||
log("Test done");
|
||||
env.parent().exit(0);
|
||||
return;
|
||||
}
|
||||
}
|
||||
log("Test failed");
|
||||
env.parent().exit(-1);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user