projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add explanatory comments to filesys tests.
[pintos-anon]
/
src
/
tests
/
filesys
/
base
/
sm-random.c
diff --git
a/src/tests/filesys/base/sm-random.c
b/src/tests/filesys/base/sm-random.c
index 3639a1666341c939b87706c73fe68a8170822f8e..42d670f5d3a150643d598e77c8e2239a46e89953 100644
(file)
--- a/
src/tests/filesys/base/sm-random.c
+++ b/
src/tests/filesys/base/sm-random.c
@@
-1,3
+1,7
@@
+/* Writes out the content of a fairly small file in random order,
+ then reads it back in random order to verify that it was
+ written properly. */
+
#define BLOCK_SIZE 13
#define TEST_SIZE (13 * 123)
#include "tests/filesys/base/random.inc"