PKUOS - Pintos
Pintos source browser for PKU Operating System course
Functions
dir-rm-root.c File Reference
#include <syscall.h>
#include "tests/lib.h"
#include "tests/main.h"
Include dependency graph for dir-rm-root.c:

Go to the source code of this file.

Functions

void test_main (void)
 Try to remove the root directory. More...
 

Function Documentation

◆ test_main()

void test_main ( void  )

Try to remove the root directory.

tests/main.h

This must fail.

Definition at line 9 of file dir-rm-root.c.

References CHECK, create(), and remove().

Here is the call graph for this function: