Mon, 04 Oct 2010 02:42:33 +0100
servers/jabberd14.lua: Give specific branch versions
function testers.jabberd14() if test(q_invalid_xml, literal ">Invalid XML<") or (test(q_invalid_xml, literal ">syntax error</text>") and not test(q_invalid_host, literal " id='")) then server_name = "jabberd14"; if test(q_invalid_xml, "^<stream:error>") then server_version = "1.4.x"; elseif test(q_empty_message_tag, literal "<improper-addressing ") then server_version = "1.6.x" elseif test(q_empty_message_tag, literal "<bad-format ") then server_comment "Using jadc2s connection manager, jabberd14 version unknown"; end end end