Add explanatory comments to userprog tests.
[pintos-anon] / src / tests / userprog / write-bad-ptr.c
index bf0dead70b6e4782f1a5931210c2b026d32a4d11..533647900bfd21a8b7b09b6f32e0dee4fb62c8f7 100644 (file)
@@ -1,3 +1,6 @@
+/* Passes an invalid pointer to the write system call.
+   The process must be terminated with -1 exit code. */
+
 #include <syscall.h>
 #include "tests/lib.h"
 #include "tests/main.h"