Commit 7269f798 authored by terry%mozilla.org's avatar terry%mozilla.org

Added simple sanity checking of the dependencies table.

parent de0f9e64
......@@ -166,3 +166,21 @@ while (@row = FetchSQLData()) {
Alert("Bad who $who in " . BugLink($id));
}
}
Status("Checking dependency table");
SendSQL("select blocked, dependson from dependencies");
while (@row = FetchSQLData()) {
my ($blocked, $dependson) = (@row);
if (!defined $bugid{$blocked}) {
Alert("Bad blocked " . BugLink($blocked));
}
if (!defined $bugid{$dependson}) {
Alert("Bad dependson " . BugLink($dependson));
}
}
Status("Sanity check completed.");
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment