diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index caca2c72..91dbe9a0 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -167,8 +167,8 @@ Guidelines when writing new functional tests:
1. Prefer `stbbr_for_query(namespace, xml)` for IQ roster or disco queries where the namespace is stable.
2. Use `stbbr_send(xml)` for presence, message, and other push style stanzas.
3. Avoid `stbbr_for_id` unless the protocol flow genuinely requires correlating a specific request/response pair not covered by a namespace query.
-4. Keep assertions tolerant of ordering when possible; rely on `exp_expectl` regex matches rather than hard-coded positions.
-5. If timing flakiness appears, temporarily raise `exp_timeout` around the critical expectation and reset it immediately afterwards.
+4. Keep assertions tolerant of ordering when possible; rely on `prof_output_regex()` matches rather than hard-coded positions.
+5. If timing flakiness appears, temporarily raise `prof_timeout()` around the critical expectation and reset it immediately afterwards.
During the migration it's acceptable for a test file to mix old and new styles; opportunistically refactor brittle sections when touching a test for other reasons.
diff --git a/ci-build.sh b/ci-build.sh
index ede9d1f8..b31bc521 100755
--- a/ci-build.sh
+++ b/ci-build.sh
@@ -61,24 +61,6 @@ case "$ARCH" in
"--disable-plugins --disable-c-plugins --disable-python-plugins"
# 5. Default configuration
""
- # --- Additional configurations (uncomment if needed) ---
- # "--enable-notifications --enable-otr --enable-pgp --enable-omemo
- # --enable-plugins --enable-c-plugins --enable-python-plugins"
- # "--enable-notifications --enable-otr"
- # "--enable-notifications --enable-otr --enable-pgp"
- # "--enable-notifications --enable-otr --enable-pgp --enable-omemo"
- # "--enable-notifications --enable-otr --enable-pgp --enable-omemo --enable-omemo-qrcode"
- # "--enable-notifications --enable-otr --enable-pgp --enable-omemo --enable-omemo-qrcode
- # --enable-icons-and-clipboard"
- # "--enable-notifications --enable-otr --enable-pgp --enable-omemo --enable-omemo-qrcode
- # --enable-icons-and-clipboard --enable-gdk-pixbuf"
- # "--enable-notifications --enable-otr --enable-pgp --enable-omemo --enable-omemo-qrcode
- # --enable-icons-and-clipboard --enable-gdk-pixbuf --with-xscreensaver"
- # "--enable-notifications --enable-otr --enable-pgp --enable-omemo --enable-omemo-qrcode
- # --enable-icons-and-clipboard --enable-gdk-pixbuf --with-xscreensaver --enable-plugins"
- # "--enable-notifications --enable-otr --enable-pgp --enable-omemo --enable-omemo-qrcode
- # --enable-icons-and-clipboard --enable-gdk-pixbuf --with-xscreensaver --enable-plugins
- # --enable-c-plugins"
)
source /etc/profile.d/debuginfod.sh 2>/dev/null || true
;;
@@ -100,18 +82,6 @@ case "$ARCH" in
"--disable-plugins --disable-c-plugins --disable-python-plugins"
# 5. Default configuration
""
- # --- Additional configurations (uncomment if needed) ---
- # "--enable-notifications --enable-otr --enable-pgp --enable-omemo
- # --enable-plugins --enable-c-plugins --enable-python-plugins"
- # "--enable-notifications --enable-otr"
- # "--enable-notifications --enable-otr --enable-pgp"
- # "--enable-notifications --enable-otr --enable-pgp --enable-omemo"
- # "--enable-notifications --enable-otr --enable-pgp --enable-omemo
- # --enable-plugins"
- # "--enable-notifications --enable-otr --enable-pgp --enable-omemo
- # --enable-plugins --enable-c-plugins"
- # "--enable-notifications --enable-otr --enable-pgp --enable-omemo
- # --enable-icons-and-clipboard"
)
;;
openbsd*)
@@ -139,18 +109,6 @@ case "$ARCH" in
"--disable-plugins --disable-c-plugins --disable-python-plugins"
# 5. Default configuration
""
- # --- Additional configurations (uncomment if needed) ---
- # "--enable-notifications --enable-otr --enable-pgp --enable-omemo
- # --enable-plugins --enable-c-plugins --enable-python-plugins"
- # "--enable-notifications --enable-otr"
- # "--enable-notifications --enable-otr --enable-pgp"
- # "--enable-notifications --enable-otr --enable-pgp --enable-omemo"
- # "--enable-notifications --enable-otr --enable-pgp --enable-omemo
- # --enable-plugins"
- # "--enable-notifications --enable-otr --enable-pgp --enable-omemo
- # --enable-plugins --enable-c-plugins"
- # "--enable-notifications --enable-otr --enable-pgp --enable-omemo
- # --enable-icons-and-clipboard"
)
;;
esac
diff --git a/prof.supp b/prof.supp
index c8f1374f..87aca009 100644
--- a/prof.supp
+++ b/prof.supp
@@ -12,27 +12,6 @@
# Functional tests suppressions (stabber/pthread)
# ============================================
-{
- stabber_recv_shutdown
- Memcheck:Param
- socketcall.recvfrom(buf)
- fun:recv
- fun:_shutdown
- ...
- obj:*/libstabber*
-}
-
-{
- stabber_recv_read_stream
- Memcheck:Param
- socketcall.recvfrom(buf)
- fun:recv
- ...
- fun:read_stream
- ...
- obj:*/libstabber*
-}
-
{
stabber_pthread_create
Memcheck:Leak
diff --git a/src/command/cmd_defs.c b/src/command/cmd_defs.c
index bc2e546a..ec1e58b3 100644
--- a/src/command/cmd_defs.c
+++ b/src/command/cmd_defs.c
@@ -139,6 +139,7 @@ static const struct cmd_t command_defs[] = {
"Show version and license information.")
},
+ // Max args: account + server + port