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:
Bahadir Balban
2009-05-12 12:31:25 +03:00
parent 8528e2e1ba
commit 324481a334
9 changed files with 33 additions and 21 deletions

View File

@@ -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);
}