From 2bb7eb2dec219d05edb53002e10811fa214325b8 Mon Sep 17 00:00:00 2001 From: Brian Cully Date: Fri, 10 Nov 2017 13:47:01 -0500 Subject: Add tests. * Add simple INSTALL document. * Add Makefile.PL for make support. * Moved sample files to t/fixtures. * Add version to xmpt executable.xmpt * Add tests for sample CLI run. --- t/fixtures/input | 29 +++++++++++++++++++++++++++++ t/fixtures/localhost.conf | 3 +++ t/fixtures/testplan | 6 ++++++ 3 files changed, 38 insertions(+) create mode 100644 t/fixtures/input create mode 100644 t/fixtures/localhost.conf create mode 100644 t/fixtures/testplan (limited to 't/fixtures') diff --git a/t/fixtures/input b/t/fixtures/input new file mode 100644 index 0000000..2d508fe --- /dev/null +++ b/t/fixtures/input @@ -0,0 +1,29 @@ + + + + SCRAM-SHA-1 + PLAIN + + + + + + + + + + + + test0@localhost/xmpt + + + + diff --git a/t/fixtures/localhost.conf b/t/fixtures/localhost.conf new file mode 100644 index 0000000..bc462d7 --- /dev/null +++ b/t/fixtures/localhost.conf @@ -0,0 +1,3 @@ +# Domain and bare JID are calculated from full. +full_jid=test0@localhost/xmpt +password=test diff --git a/t/fixtures/testplan b/t/fixtures/testplan new file mode 100644 index 0000000..ba7fcaa --- /dev/null +++ b/t/fixtures/testplan @@ -0,0 +1,6 @@ +signin +auth +bind-reneg +bind +session +signout -- cgit v1.2.3