Make tests public. Rewrite most tests. Add tests.
[pintos-anon] / src / tests / filesys / extended / dir-rmdir.c
1 #include <syscall.h>
2 #include "tests/lib.h"
3 #include "tests/main.h"
4
5 void
6 test_main (void) 
7 {
8   CHECK (mkdir ("a"), "mkdir \"a\"");
9   CHECK (remove ("a"), "rmdir \"a\"");
10   CHECK (!chdir ("a"), "chdir \"a\" (must return false)");
11 }