RW test stub.
This commit is contained in:
parent
89ba79cdb4
commit
1b63251154
@ -54,6 +54,7 @@ int semtest(int, char **);
|
||||
int locktest(int, char **);
|
||||
int cvtest(int, char **);
|
||||
int cvtest2(int, char **);
|
||||
int rwtest(int, char **);
|
||||
|
||||
/* semaphore unit tests */
|
||||
int semu1(int, char **);
|
||||
|
@ -477,6 +477,7 @@ static const char *testmenu[] = {
|
||||
"[sy2] Lock test (1) ",
|
||||
"[sy3] CV test (1) ",
|
||||
"[sy4] CV test #2 (1) ",
|
||||
"[sy5] RW lock test (1) ",
|
||||
"[semu1-22] Semaphore unit tests ",
|
||||
"[fs1] Filesystem test ",
|
||||
"[fs2] FS read stress ",
|
||||
@ -579,6 +580,7 @@ static struct {
|
||||
{ "sy2", locktest },
|
||||
{ "sy3", cvtest },
|
||||
{ "sy4", cvtest2 },
|
||||
{ "sy5", rwtest },
|
||||
|
||||
/* semaphore unit tests */
|
||||
{ "semu1", semu1 },
|
||||
|
@ -487,3 +487,18 @@ cvtest2(int nargs, char **args)
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* Complete this for ASST1.
|
||||
*/
|
||||
|
||||
int rwtest(int nargs, char **args) {
|
||||
|
||||
(void) nargs;
|
||||
(void) args;
|
||||
|
||||
tkprintf("rwtest unimplemented\n");
|
||||
success(FAIL, "rwtest");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user