[Secure-testing-commits] r654 - sarge-checks

Joey Hess joeyh@costa.debian.org
Fri, 25 Mar 2005 15:27:43 +0000


Author: joeyh
Date: 2005-03-25 15:27:43 +0000 (Fri, 25 Mar 2005)
New Revision: 654

Modified:
   sarge-checks/checklist
Log:
check for madison dying due to signal (such as sigsegv), not for it dumping
core


Modified: sarge-checks/checklist
===================================================================
--- sarge-checks/checklist	2005-03-25 14:08:01 UTC (rev 653)
+++ sarge-checks/checklist	2005-03-25 15:27:43 UTC (rev 654)
@@ -65,12 +65,12 @@
 			}
 
 			my $maddy=`madison -s testing '$package'`;
-			if ($? & 128) {
+			if ($? & 127) {
 				# good old newraff..
-				record($package, "madison segfaulted", $id);
+				record($package, "<em>[madison segfaulted]</em>", $id);
 			}
 			elsif ($? >> 8 != 0 && $? >> 8 != 1) {
-				record($package, "<em>madison exited with ".($? >> 8)."</em>", $id);
+				record($package, "<em>[madison exited with ".($? >> 8)."]</em>", $id);
 			}
 			if (! length $maddy) {
 				next;