X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=grading%2Fuserprog%2Ftests.txt;h=dd3ef0ae93cce7be02392ca37b0424e487eaf215;hb=866d92d9499abcb47864601c47de0d0c8c6c7681;hp=afeed079fde0d8dcf1cc8791ff234be72e89f1b2;hpb=2e2f580dd9eb1a8fa094e35f4b967e2547774d9c;p=pintos-anon diff --git a/grading/userprog/tests.txt b/grading/userprog/tests.txt index afeed07..dd3ef0a 100644 --- a/grading/userprog/tests.txt +++ b/grading/userprog/tests.txt @@ -2,24 +2,24 @@ CORRECTNESS [[total]] --------------------- Argument passing - -3 args-argc: argc is not set correctly + -4 args-argc: argc is not set correctly + -4 args-single: passing single argument fails -3 args-argv0: executable name not passed as argv[0] -3 args-argvn: argv[argc] is not a null pointer - -3 args-single: passing single argument fails -3 args-multiple: passing multiple arguments fails -3 args-dbl-space: using multiple spaces between arguments fails -Score: /18 +Score: /20 System calls + -4 sc-boundary: syscall with args across page boundary must work -3 sc-bad-sp: system call with a bad stack pointer must not crash OS -3 sc-bad-arg: syscall with argument off top of stack must not crash OS - -3 sc-boundary: syscall with args across page boundary must work -Score: /9 +Score: /10 System calls: halt, exec -1 halt: halt system call fails - -2 exit: exit system call malfunctions -Score: /3 + -1 exit: exit system call malfunctions +Score: /2 System calls: create -2 create-normal: create a file in the most normal way @@ -83,8 +83,7 @@ System calls: join Score: /7 Multiprogramming - -2 multi-recurse: test recursively executing subprocesses - -2 multi-oom: exhausting user memory must not crash OS - -2 multi-fragment: programs must load even if user memory is fragmented - -2 multi-parent-fd: child must not be able to close parent's fds -Score: /8 + -3 multi-recurse: test recursively executing subprocesses + -3 multi-oom: exhausting user memory must not crash OS + -3 multi-child-fd: child must not be able to close parent's fds +Score: /9