projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use standard POSIX "ustar" format for the scratch disk.
[pintos-anon]
/
src
/
tests
/
filesys
/
extended
/
dir-empty-name.c
diff --git
a/src/tests/filesys/extended/dir-empty-name.c
b/src/tests/filesys/extended/dir-empty-name.c
index d1f5132c7f54b6671f9c435a03e1e4dc2bd995e7..c4859d20c77ec296f9cbcbb87d3419b1bb9c6eed 100644
(file)
--- a/
src/tests/filesys/extended/dir-empty-name.c
+++ b/
src/tests/filesys/extended/dir-empty-name.c
@@
-1,3
+1,6
@@
+/* Tries to create a directory named as the empty string,
+ which must return failure. */
+
#include <syscall.h>
#include "tests/lib.h"
#include "tests/main.h"
#include <syscall.h>
#include "tests/lib.h"
#include "tests/main.h"
@@
-5,5
+8,5
@@
void
test_main (void)
{
void
test_main (void)
{
- CHECK (!
create ("", 0), "create
\"\" (must return false)");
+ CHECK (!
mkdir (""), "mkdir
\"\" (must return false)");
}
}