Skip to content
Snippets Groups Projects
Commit b0d3cdab authored by rswindell's avatar rswindell
Browse files

Report an issue if the BBS is not listed in sbbsimsg.lst.

parent 07f4a8d3
No related branches found
No related tags found
No related merge requests found
......@@ -202,6 +202,14 @@ var tests = {
return "SYNCDATA sub-board could not be found in message area configuration";
},
check_imsg_list: function(options)
{
var lib = load({}, "sbbsimsg_lib.js");
var list = lib.read_sys_list(/* include_self: */true);
if(!lib.find_name(list, system.name))
return format("'%s' not listed in %s", system.name, lib.filename);
},
check_sub_codes: function(options)
{
return check_codes("msg sub-board", msg_area.grp_list, 'sub_list');
......@@ -252,4 +260,7 @@ for(var i in tests) {
break;
}
}
writeln(issues + " issues discovered");
\ No newline at end of file
if(issues)
alert(issues + " issues discovered");
else
writeln("No issues discovered");
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment