provided code
This commit is contained in:
11
src/tests/userprog/exit.c
Normal file
11
src/tests/userprog/exit.c
Normal file
@@ -0,0 +1,11 @@
|
||||
/* Tests the exit system call. */
|
||||
|
||||
#include "tests/lib.h"
|
||||
#include "tests/main.h"
|
||||
|
||||
void
|
||||
test_main (void)
|
||||
{
|
||||
exit (57);
|
||||
fail ("should have called exit(57)");
|
||||
}
|
||||
Reference in New Issue
Block a user