X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Ftests%2Fuserprog%2Fread-bad-ptr.c;h=8fe756ec6e640c3e50f6cf301a99c89253a1abb5;hb=0b55933faeb90e4953f33a7e382c6f475d9befd7;hp=950642769e4d40a205c54940033f5dc4a9e9f71e;hpb=615bf3b3d2a8573ed6fb9ddc0055745e163ac999;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"