X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Ftests%2Fuserprog%2Fread-bad-ptr.c;h=8fe756ec6e640c3e50f6cf301a99c89253a1abb5;hb=86a6823c27924913dcfa9af788d16491e0c1546c;hp=950642769e4d40a205c54940033f5dc4a9e9f71e;hpb=4ebf33908a571a7cde93fe618902b044e3633cdf;p=pintos-anon diff --git a/src/tests/userprog/read-bad-ptr.c b/src/tests/userprog/read-bad-ptr.c index 9506427..8fe756e 100644 --- a/src/tests/userprog/read-bad-ptr.c +++ b/src/tests/userprog/read-bad-ptr.c @@ -1,3 +1,6 @@ +/* Passes an invalid pointer to the read system call. + The process must be terminated with -1 exit code. */ + #include #include "tests/lib.h" #include "tests/main.h"