(strip_exit_codes) Include _ in the list of characters considered as win0405
authorBen Pfaff <blp@cs.stanford.edu>
Fri, 18 Mar 2005 17:46:59 +0000 (17:46 +0000)
committerBen Pfaff <blp@cs.stanford.edu>
Fri, 18 Mar 2005 17:46:59 +0000 (17:46 +0000)
part of a program name.

grading/lib/Pintos/Grading.pm

index 28c438dd470dcd513b941f3d02c00f3efe41c10a..90d9ba311ce548636748097f9a7f7a32c7d5b1ee 100644 (file)
@@ -698,7 +698,7 @@ sub canonicalize_exit_codes {
 }
 
 sub strip_exit_codes {
-    return grep (!/^[-a-z0-9]+: exit\(-?\d+\)/, canonicalize_exit_codes (@_));
+    return grep (!/^[-_a-z0-9]+: exit\(-?\d+\)/, canonicalize_exit_codes (@_));
 }
 
 sub compare_output {