Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ivan Ivlev
bugzilla
Commits
7269f798
Commit
7269f798
authored
Jun 02, 1999
by
terry%mozilla.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added simple sanity checking of the dependencies table.
parent
de0f9e64
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
sanitycheck.cgi
sanitycheck.cgi
+18
-0
No files found.
sanitycheck.cgi
View file @
7269f798
...
...
@@ -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."
);
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment