Add explanatory comments to userprog tests.
[pintos-anon] / src / tests / userprog / close-twice.c
index d3f1e57bc5a81f4fc004b2fd3a0261114f18ea53..830bccf38be9ddf4df11d4014ac43cc527831206 100644 (file)
@@ -1,3 +1,7 @@
+/* Opens a file and then tries to close it twice.  The second
+   close must either fail silently or terminate with exit code
+   -1. */
+
 #include <syscall.h>
 #include "tests/lib.h"
 #include "tests/main.h"