#include <kernel.h>
#include <proc.h>
#include <queue.h>
#include <semaphore.h>
#include <stdio.h>
Go to the source code of this file.
Functions | |
void | testPass (const char *) |
void | testFail (const char *) |
int | test_deltaQueue (int argc, char **argv) |
int test_deltaQueue | ( | int | argc, | |
char ** | argv | |||
) |
Definition at line 10 of file test-dqueue.c.
References create(), dequeue(), EMPTY, FALSE, firstkey, freesem(), INITSTK, insertd(), isbadsem, kill(), newsem(), NULL, OK, printf, sentry::queue, semtab, sprintf(), SYSERR, testFail(), testPass(), and TRUE.
Referenced by testItem().
void testFail | ( | const char * | ) |
Definition at line 11 of file testhelper.c.
Referenced by test_bigargs(), test_checkProcState(), test_checkResult(), test_checkSemCount(), test_deltaQueue(), test_procQueue(), test_recursion(), test_schedule(), test_semaphore(), test_semaphore2(), test_semaphore3(), and test_semaphore4().
void testPass | ( | const char * | ) |
Definition at line 6 of file testhelper.c.
Referenced by test_bigargs(), test_deltaQueue(), test_procQueue(), test_recursion(), test_schedule(), test_semaphore(), test_semaphore2(), test_semaphore3(), and test_semaphore4().