X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Ftests%2Fuserprog%2Fwrite-bad-ptr.c;h=533647900bfd21a8b7b09b6f32e0dee4fb62c8f7;hb=b0a8de6745aebfd327a693c88196e211e523dbc1;hp=bf0dead70b6e4782f1a5931210c2b026d32a4d11;hpb=615bf3b3d2a8573ed6fb9ddc0055745e163ac999;p=pintos-anon diff --git a/src/tests/userprog/write-bad-ptr.c b/src/tests/userprog/write-bad-ptr.c index bf0dead..5336479 100644 --- a/src/tests/userprog/write-bad-ptr.c +++ b/src/tests/userprog/write-bad-ptr.c @@ -1,3 +1,6 @@ +/* Passes an invalid pointer to the write system call. + The process must be terminated with -1 exit code. */ + #include #include "tests/lib.h" #include "tests/main.h"