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

Go to the source code of this file.

Functions

void test_main (void)
 Tries to create a directory with the same name as an existing file, which must return failure. More...
 

Function Documentation

◆ test_main()

void test_main ( void  )

Tries to create a directory with the same name as an existing file, which must return failure.

tests/main.h

Definition at line 9 of file dir-under-file.c.

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

Here is the call graph for this function: