Add explanatory comments to userprog tests.
[pintos-anon] / src / tests / userprog / close-bad-fd.c
index a69cdfdc0c9e9eb6913150afcffe610f781c4ada..f63bb9abe870769582db3c501dd4c721752221fe 100644 (file)
@@ -1,3 +1,6 @@
+/* Tries to close an invalid fd, which must either fail silently
+   or terminate with exit code -1. */
+
 #include <syscall.h>
 #include "tests/main.h"