Improve run-tests to accept more output code formats.
[pintos-anon] / grading / userprog / exec-missing.exp
index 7334b9ed27cb7a206109087d4b40e319fcfbcc48..56670408890eaf4fd17e6759fc2710ce15c61bbe 100644 (file)
@@ -1,4 +1,12 @@
 (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
+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)