X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Ftests%2Fuserprog%2Fopen-null.c;h=bb418b88b33c20109ec74f4501ffa48c41daa45f;hb=3f3135e756103a273fd9d1c6cc317e39848da023;hp=ba30807189d7b5f6b120416a866826e2c74f45c6;hpb=4ebf33908a571a7cde93fe618902b044e3633cdf;p=pintos-anon diff --git a/src/tests/userprog/open-null.c b/src/tests/userprog/open-null.c index ba30807..bb418b8 100644 --- a/src/tests/userprog/open-null.c +++ b/src/tests/userprog/open-null.c @@ -1,3 +1,6 @@ +/* Tries to open a file with the null pointer as its name. + The process must be terminated with exit code -1. */ + #include #include #include "tests/main.h"