mod_smacks: Disable resumption behavior on s2s
Since resumption is not supported on s2s currently, there is no point in
allocating resumption tokens. The code that removes entries from
session_registry is only invoked for c2s sessions, thus enabling
resumable smacks on s2s adds an entry that never goes away.
local u_table = require "util.table";
describe("util.table", function ()
describe("create()", function ()
it("works", function ()
-- Can't test the allocated sizes of the table, so what you gonna do?
assert.is.table(u_table.create(1,1));
end);
end);
describe("pack()", function ()
it("works", function ()
assert.same({ "lorem", "ipsum", "dolor", "sit", "amet", n = 5 }, u_table.pack("lorem", "ipsum", "dolor", "sit", "amet"));
end);
end);
end);