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

Joey Hess joeyh@costa.debian.org
Wed, 16 Mar 2005 09:49:39 +0100


Author: joeyh
Date: 2005-03-16 09:49:39 +0100 (Wed, 16 Mar 2005)
New Revision: 564

Modified:
   sarge-checks/checklist
Log:
add more robust checking for strange madison bahavior, including the
coredumps on newraff, and whatever oddness may be causing empty reports on
merkel


Modified: sarge-checks/checklist
===================================================================
--- sarge-checks/checklist	2005-03-16 08:30:38 UTC (rev 563)
+++ sarge-checks/checklist	2005-03-16 08:49:39 UTC (rev 564)
@@ -47,6 +47,13 @@
 			my $version=$2;
 			
 			my $maddy=`madison -s testing '$package'`;
+			if ($? & 128) {
+				# good old newraff..
+				record($package, "madison segfaulted", $id);
+			}
+			elsif ($? >> 8 != 0 && $? >> 8 != 1) {
+				record($package, "madison exited with ".($? >> 8), $id);
+			}
 			if (! length $maddy) {
 				next;
 			}