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=42af854a26f2e5f27120b566fcaa492e29a51874;hp=019708ec989fe55295b9f6a397bd59fa84f19c82;hpb=4ebf33908a571a7cde93fe618902b044e3633cdf;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"