|
CS318 - Pintos
Pintos source browser for JHU CS318 course
|
#include <stdarg.h>#include <stdio.h>#include <syscall.h>#include "tests/filesys/extended/mk-tree.h"#include "tests/lib.h"#include "tests/main.h"
Go to the source code of this file.
Functions | |
| static void | remove_tree (int at, int bt, int ct, int dt) |
| Creates directories /0/0/0 through /3/2/2 and files in the leaf directories, then removes them. More... | |
| void | test_main (void) |
| tests/main.h More... | |
| static void | do_remove (const char *format,...) PRINTF_FORMAT(1 |
|
static |
Definition at line 52 of file dir-rm-tree.c.
References CHECK, name, remove(), va_end, va_start, and vsnprintf().
Referenced by remove_tree().


|
static |
Creates directories /0/0/0 through /3/2/2 and files in the leaf directories, then removes them.
Definition at line 23 of file dir-rm-tree.c.
References CHECK, do_remove(), msg(), open(), quiet, and snprintf().
Referenced by test_main().


| void test_main | ( | void | ) |
This must fail, because that directory is non-empty.
This must fail.
Definition at line 14 of file dir-rm-tree.c.
References make_tree(), and remove_tree().

1.8.16