X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Ftests%2Fvm%2Fpt-write-code.c;h=5072cec10ea5914b3ed68e6f60dae23361f252e3;hb=689fb08ce1061297cec4264aeb32464ec182fcf3;hp=4c580b562a7e2a92ff908f36e151bddcadaf068b;hpb=615bf3b3d2a8573ed6fb9ddc0055745e163ac999;p=pintos-anon diff --git a/src/tests/vm/pt-write-code.c b/src/tests/vm/pt-write-code.c index 4c580b5..5072cec 100644 --- a/src/tests/vm/pt-write-code.c +++ b/src/tests/vm/pt-write-code.c @@ -1,3 +1,6 @@ +/* Try to write to the code segment. + The process must be terminated with -1 exit code. */ + #include "tests/lib.h" #include "tests/main.h"