Software /
code /
prosody
Annotate
spec/scansion/version.scs @ 12967:53b0730093d8
scansion: vcard_temp: Ensure at least one connection is open throughout test
I plan to introduce logic to "reset" the server between individual tests,
which is currently triggered by the lack of any connections. This is the only
test that has a point where no clients are connected, and it's not necessary,
so I changed it to keep the connection open for the duration of the test.
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 23 Mar 2023 14:19:43 +0000 |
parent | 10729:dbce2b94a7eb |
rev | line source |
---|---|
10729 | 1 # XEP-0092: Software Version / mod_version |
2 | |
3 [Client] Romeo | |
4 password: password | |
5 jid: romeo@localhost/dfaZpuxV | |
6 | |
7 ----- | |
8 | |
9 Romeo connects | |
10 | |
11 Romeo sends: | |
12 <iq id='lx2' to='localhost' type='get'> | |
13 <query xmlns='jabber:iq:version'/> | |
14 </iq> | |
15 | |
16 # Version string would vary so we can't do an exact match atm | |
17 # Inclusion of <os/> is disabled in the config, it should be absent | |
18 Romeo receives: | |
19 <iq id='lx2' from='localhost' type='result'> | |
20 <query xmlns='jabber:iq:version' scansion:strict='true'> | |
21 <name>Prosody</name> | |
22 <version scansion:strict='false'/> | |
23 </query> | |
24 </iq> | |
25 | |
26 | |
27 Romeo disconnects |