projects
/
pintos-anon
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Don't check return value of write().
[pintos-anon]
/
src
/
tests
/
filesys
/
extended
/
dir-mkdir.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 (create ("a/b", 512), "create \"a/b\"");
10
CHECK (chdir ("a"), "chdir \"a\"");
11
CHECK (open ("b") > 1, "open \"b\"");
12
}
13