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