projects
/
pintos-anon
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Some suggestions from "Waqar Mohsin" <wmohsin@gmail.com>
[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
}