X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Ftests%2Fuserprog%2Fexec-bad-ptr.c;h=0abadd30f141913977806fc6892cb34810d7359b;hb=cb3a47ebe6359d9902dd0a3a769d6ab524e7e37c;hp=a70c504cfcfb0770de77fb44114fb767a48c9eab;hpb=4ebf33908a571a7cde93fe618902b044e3633cdf;p=pintos-anon diff --git a/src/tests/userprog/exec-bad-ptr.c b/src/tests/userprog/exec-bad-ptr.c index a70c504..0abadd3 100644 --- a/src/tests/userprog/exec-bad-ptr.c +++ b/src/tests/userprog/exec-bad-ptr.c @@ -1,3 +1,6 @@ +/* Passes an invalid pointer to the exec system call. + The process must be terminated with -1 exit code. */ + #include #include "tests/main.h"