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-rm-root.c
1
/* Try to remove the root directory.
2
This must return failure. */
3
4
#include <syscall.h>
5
#include "tests/lib.h"
6
#include "tests/main.h"
7
8
void
9
test_main (void)
10
{
11
CHECK (!remove ("/"), "remove \"/\" (must return false)");
12
CHECK (create ("/a", 243), "create \"/a\"");
13
}