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=fd36e1fee6a7f98bfbc13aa20f0ee7d3aeab72ef;hp=14619963e3ec7616963911c4c5f9d1eeb3b41022;hpb=4ebf33908a571a7cde93fe618902b044e3633cdf;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"