projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add file system persistence tests:
[pintos-anon]
/
src
/
tests
/
filesys
/
extended
/
dir-rm-root.c
diff --git
a/src/tests/filesys/extended/dir-rm-root.c
b/src/tests/filesys/extended/dir-rm-root.c
index 5f9cb61509da6c04867e7246342e95c3f918a69e..c47f1eb7b47f6c135c80291a1ec5ebee4e7fd52f 100644
(file)
--- a/
src/tests/filesys/extended/dir-rm-root.c
+++ b/
src/tests/filesys/extended/dir-rm-root.c
@@
-1,5
+1,5
@@
/* Try to remove the root directory.
/* Try to remove the root directory.
- This must
return failure
. */
+ This must
fail
. */
#include <syscall.h>
#include "tests/lib.h"
#include <syscall.h>
#include "tests/lib.h"
@@
-8,6
+8,6
@@
void
test_main (void)
{
void
test_main (void)
{
- CHECK (!remove ("/"), "remove \"/\" (must
return false
)");
+ CHECK (!remove ("/"), "remove \"/\" (must
fail
)");
CHECK (create ("/a", 243), "create \"/a\"");
}
CHECK (create ("/a", 243), "create \"/a\"");
}