X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Ftests%2Fvm%2Fmmap-bad-fd.c;h=76a7b50e1092bc95f29d067c353a470dd5fac368;hb=a43de5270109e60db2284c929a368b083e1ff316;hp=14619963e3ec7616963911c4c5f9d1eeb3b41022;hpb=615bf3b3d2a8573ed6fb9ddc0055745e163ac999;p=pintos-anon diff --git a/src/tests/vm/mmap-bad-fd.c b/src/tests/vm/mmap-bad-fd.c index 1461996..76a7b50 100644 --- a/src/tests/vm/mmap-bad-fd.c +++ b/src/tests/vm/mmap-bad-fd.c @@ -1,3 +1,7 @@ +/* Tries to mmap an invalid fd, + which must either fail silently or terminate the process with + exit code -1. */ + #include #include "tests/lib.h" #include "tests/main.h"