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