CS318 - Pintos
Pintos source browser for JHU CS318 course
Functions
dir-over-file.c File Reference
#include <syscall.h>
#include "tests/lib.h"
#include "tests/main.h"
Include dependency graph for dir-over-file.c:

Go to the source code of this file.

Functions

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

Function Documentation

◆ test_main()

void test_main ( void  )

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

tests/main.h

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

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

Here is the call graph for this function: