X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Ftests%2Fuserprog%2Fopen-null.c;h=bb418b88b33c20109ec74f4501ffa48c41daa45f;hb=HEAD;hp=ba30807189d7b5f6b120416a866826e2c74f45c6;hpb=615bf3b3d2a8573ed6fb9ddc0055745e163ac999;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"