Added a shared memory test.

- libposix error printing now configurable via macro definition
- shmget/at/dt tested.
This commit is contained in:
Bahadir Balban
2009-05-12 18:16:25 +03:00
parent 324481a334
commit 33fcceb2b6
24 changed files with 126 additions and 76 deletions

View File

@@ -22,9 +22,14 @@ void wait_pager(l4id_t partner)
// printf("Pager synced with us.\n");
}
pid_t parent_of_all;
void main(void)
{
printf("\n%s: Started with thread id %d\n", __TASKNAME__, self_tid());
printf("\n%s: Started with thread id %d\n", __TASKNAME__, getpid());
parent_of_all = getpid();
wait_pager(0);
@@ -34,6 +39,8 @@ void main(void)
mmaptest();
shmtest();
forktest();
fileio();