X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Ftests%2Fuserprog%2Fmulti-child-fd.c;h=48de4b4afae62427a63e3d56d08ac02f9718693b;hb=d92d837ee458bff7687e4208607e98c5b8e017c2;hp=019708ec989fe55295b9f6a397bd59fa84f19c82;hpb=615bf3b3d2a8573ed6fb9ddc0055745e163ac999;p=pintos-anon diff --git a/src/tests/userprog/multi-child-fd.c b/src/tests/userprog/multi-child-fd.c index 019708e..48de4b4 100644 --- a/src/tests/userprog/multi-child-fd.c +++ b/src/tests/userprog/multi-child-fd.c @@ -1,3 +1,8 @@ +/* Opens a file and then runs a subprocess that tries to close + the file. (Pintos does not have inheritance of file handles, + so this must fail.) The parent process then attempts to use + the file handle, which must succeed. */ + #include #include #include "tests/userprog/sample.inc"