aboutsummaryrefslogtreecommitdiffstats
path: root/t/fixtures/sample.input
diff options
context:
space:
mode:
authorBrian Cully <bjc@kublai.com>2017-11-13 17:28:31 +0000
committerBrian Cully <bjc@kublai.com>2017-11-13 17:28:31 +0000
commitb08eb5216d86cbe384b9f5e3c476dcb41d771e85 (patch)
tree430568ed596e6789ec043c618a8ebe3d65907615 /t/fixtures/sample.input
parentadfa2c97a1473bedcc10d3e2e3937eec249c0dfd (diff)
downloadxmpt-b08eb5216d86cbe384b9f5e3c476dcb41d771e85.tar.gz
xmpt-b08eb5216d86cbe384b9f5e3c476dcb41d771e85.zip
Rename 'config' to 'env'.
"Environment" more accurately reflects its usage, and this opens up "config" for global configuration. * Flags -c -> -e (-config -> -env).
Diffstat (limited to 't/fixtures/sample.input')
-rw-r--r--t/fixtures/sample.input29
1 files changed, 29 insertions, 0 deletions
diff --git a/t/fixtures/sample.input b/t/fixtures/sample.input
new file mode 100644
index 0000000..2d508fe
--- /dev/null
+++ b/t/fixtures/sample.input
@@ -0,0 +1,29 @@
+<stream:stream xmlns:stream='http://etherx.jabber.org/streams'
+ version='1.0'
+ from='localhost'
+ id='somestreamid'
+ xmlns='jabber:client'>
+ <stream:features>
+ <mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
+ <mechanism>SCRAM-SHA-1</mechanism>
+ <mechanism>PLAIN</mechanism>
+ </mechanisms>
+ <auth xmlns='http://jabber.org/features/iq-auth'/>
+ </stream:features>
+<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'></success>
+<stream:stream xmlns:stream='http://etherx.jabber.org/streams'
+ version='1.0'
+ from='localhost'
+ id='somestreamid'
+ xmlns='jabber:client'>
+ <stream:features>
+ <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
+ <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
+ </stream:features>
+<iq from='test0@localhost' to='test0@localhost/xmpt' id='bind' type='result'>
+ <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
+ <jid>test0@localhost/xmpt</jid>
+ </bind>
+</iq>
+<iq from='test0@localhost' to='test0@localhost/xmpt' id='session' type='result'/>
+</stream:stream>