X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=grading%2Fuserprog%2Fexec-missing.exp;h=9241cc746e589ccd76b7eb49a2b9af3c53849348;hb=d80dc83cd65332de026aa01035967fc031d0f305;hp=7334b9ed27cb7a206109087d4b40e319fcfbcc48;hpb=2e2f580dd9eb1a8fa094e35f4b967e2547774d9c;p=pintos-anon diff --git a/grading/userprog/exec-missing.exp b/grading/userprog/exec-missing.exp index 7334b9e..9241cc7 100644 --- a/grading/userprog/exec-missing.exp +++ b/grading/userprog/exec-missing.exp @@ -1,4 +1,17 @@ (exec-missing) begin +load: no-such-file: open failed +(exec-missing) exec("no-such-file"): -1 +(exec-missing) end +exec-missing: exit(0) +--OR-- +(exec-missing) begin +(exec-missing) exec("no-such-file"): -1 +(exec-missing) end +exec-missing: exit(0) +--OR-- +(exec-missing) begin +load: no-such-file: open failed +no-such-file: exit(-1) (exec-missing) exec("no-such-file"): -1 (exec-missing) end exec-missing: exit(0)