projects
/
pintos-anon
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Use file count of 20.
[pintos-anon]
/
src
/
tests
/
filesys
/
extended
/
dir-rm-cwd.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 (chdir ("a"), "chdir \"a\"");
10
msg ("remove \"/a\" (must not crash)");
11
remove ("/a");
12
msg ("create \"b\" (must not crash)");
13
create ("b", 123);
14
}