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