Add explanatory comments to vm tests.
[pintos-anon] / src / tests / vm / mmap-bad-fd.c
index 14619963e3ec7616963911c4c5f9d1eeb3b41022..76a7b50e1092bc95f29d067c353a470dd5fac368 100644 (file)
@@ -1,3 +1,7 @@
+/* Tries to mmap an invalid fd,
+   which must either fail silently or terminate the process with
+   exit code -1. */
+
 #include <syscall.h>
 #include "tests/lib.h"
 #include "tests/main.h"