From: Ben Pfaff Date: Sat, 5 Mar 2005 03:25:49 +0000 (+0000) Subject: Add another valid alternative for exec-missing output. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d8bcd3b6b87f1d23c29dd03a96c75bb800c7a85;p=pintos-anon Add another valid alternative for exec-missing output. --- diff --git a/grading/userprog/exec-missing.exp b/grading/userprog/exec-missing.exp index 5667040..9241cc7 100644 --- a/grading/userprog/exec-missing.exp +++ b/grading/userprog/exec-missing.exp @@ -5,6 +5,11 @@ load: no-such-file: open failed 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