Comparison

spec/scansion/tombstones.scs @ 12116:efcf25ad5406

mod_tombstones: Add a very basic test case
author Kim Alvefur <zash@zash.se>
date Thu, 23 Dec 2021 15:17:18 +0100
comparison
equal deleted inserted replaced
12115:94de6b7596cc 12116:efcf25ad5406
1 # Tombstones
2
3 [Client] Romeo
4 jid: romeo@localhost
5 password: password
6
7 [Client] Juliet
8 jid: juliet-tombstones@localhost
9 password: password
10
11 ---------
12
13 Romeo connects
14
15 Juliet connects
16
17 Juliet sends:
18 <iq type="set" id="bye">
19 <query xmlns="jabber:iq:register">
20 <remove/>
21 </query>
22 </iq>
23
24 # Scansion gets disconnected right after this with a stream error makes
25 # scansion itself abort, so we preemptively disconnect to avoid that
26 # Juliet receives:
27 # <iq type="result" id="bye"/>
28
29 Juliet disconnects
30
31 Romeo sends:
32 <presence type="probe" to="${Juliet's JID}"/>
33
34 Romeo receives:
35 <presence type="error" from="${Juliet's JID}"/>
36
37 Romeo receives:
38 <presence type="unsubscribed" from="${Juliet's JID}"/>