projects
/
pintos-anon
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fix up solution to work with latest process.c.
[pintos-anon]
/
src
/
tests
/
filesys
/
extended
/
dir-mkdir.c
1
/* Tests mkdir(). */
2
3
#include <syscall.h>
4
#include "tests/lib.h"
5
#include "tests/main.h"
6
7
void
8
test_main (void)
9
{
10
CHECK (mkdir ("a"), "mkdir \"a\"");
11
CHECK (create ("a/b", 512), "create \"a/b\"");
12
CHECK (chdir ("a"), "chdir \"a\"");
13
CHECK (open ("b") > 1, "open \"b\"");
14
}
15