mirror of
https://github.com/drasko/codezero.git
synced 2026-03-16 01:01:50 +01:00
Some more enhancements to test0
- Only the topmost parent prints pass messages. Any failed child can print fail message. - Added testing of 16 forked threads doing file create/read/write/close and 16 forked x 4 cloned = 64 threads spawning/exiting
This commit is contained in:
@@ -24,22 +24,24 @@ void wait_pager(l4id_t partner)
|
||||
|
||||
void main(void)
|
||||
{
|
||||
printf("\n%s: Started with tid %d.\n", __TASKNAME__, self_tid());
|
||||
printf("\n%s: Started with thread id %d\n", __TASKNAME__, self_tid());
|
||||
|
||||
wait_pager(0);
|
||||
|
||||
dirtest();
|
||||
printf("%s: Running POSIX API tests.\n", __TASKNAME__);
|
||||
|
||||
// exectest();
|
||||
dirtest();
|
||||
|
||||
mmaptest();
|
||||
|
||||
fileio();
|
||||
|
||||
forktest();
|
||||
|
||||
fileio();
|
||||
|
||||
clonetest();
|
||||
|
||||
// exectest();
|
||||
|
||||
while (1)
|
||||
wait_pager(0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user