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-rmdir.c
1
/* Creates and removes a directory, then makes sure that it's
2
really gone. */
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 (mkdir ("a"), "mkdir \"a\"");
12
CHECK (remove ("a"), "rmdir \"a\"");
13
CHECK (!chdir ("a"), "chdir \"a\" (must return false)");
14
}