Add functional tests for /disco command (XEP-0030)

- Add 8 tests for disco info and disco items commands
- Fix XEP-0030 compliance bug: show message for empty disco#items results
- Tests cover: identity display, features, server/jid queries, error handling,
  items display, empty results, and connection requirement
This commit is contained in:
2026-02-10 22:22:57 +03:00
committed by Jabber Developer
parent 663a959f9c
commit f20a4da160
6 changed files with 294 additions and 26 deletions

View File

@@ -362,7 +362,6 @@ close_prof_test(void **state)
fd = 0;
child_pid = 0;
}
_cleanup_dirs();
if (config_orig) {
setenv("XDG_CONFIG_HOME", config_orig, 1);