projects
/
pintos-anon
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add explanatory comments to filesys tests.
[pintos-anon]
/
src
/
tests
/
filesys
/
extended
/
dir-over-file.c
1
/* Tries to create a file with the same name as an existing
2
directory, which 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 (mkdir ("abc"), "mkdir \"abc\"");
12
CHECK (!create ("abc", 0), "create \"abc\" (must return false)");
13
}