# HG changeset patch # User Kim Alvefur # Date 1587399477 -7200 # Node ID dbce2b94a7eb921fdabff43313bcc631e6dcf7cb # Parent 2764beb552cd9fbd1ed73a1617206c8fa0f998fb mod_version: Add scansion test Why was this module enabled in the config for tests if it wasn't tested? diff -r 2764beb552cd -r dbce2b94a7eb spec/scansion/prosody.cfg.lua --- a/spec/scansion/prosody.cfg.lua Mon Apr 20 11:30:59 2020 +0100 +++ b/spec/scansion/prosody.cfg.lua Mon Apr 20 18:17:57 2020 +0200 @@ -84,6 +84,8 @@ VirtualHost "localhost" +hide_os_type = true -- absense tested for in version.scs + Component "conference.localhost" "muc" storage = "memory" diff -r 2764beb552cd -r dbce2b94a7eb spec/scansion/version.scs --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/spec/scansion/version.scs Mon Apr 20 18:17:57 2020 +0200 @@ -0,0 +1,27 @@ +# XEP-0092: Software Version / mod_version + +[Client] Romeo + password: password + jid: romeo@localhost/dfaZpuxV + +----- + +Romeo connects + +Romeo sends: + + + + +# Version string would vary so we can't do an exact match atm +# Inclusion of is disabled in the config, it should be absent +Romeo receives: + + + Prosody + + + + + +Romeo disconnects