Source: vim-ultisnips
Version: 3.2-2
Severity: minor
Tags: patch

tmux in experimental is a snapshot from upstream Git and reports its
version as 'next-3.5' at the moment, which does not match a regexp used
in one of the autopkgtests.

Trivial patch is:

diff --git a/test/vim_interface.py b/test/vim_interface.py
index e7a21f2bb1..0e44d277e4 100644
--- a/test/vim_interface.py
+++ b/test/vim_interface.py
@@ -177,7 +177,7 @@ class VimInterfaceTmux(VimInterface):
         ).communicate()
         if PYTHON3:
             stdout = stdout.decode("utf-8")
-        m = re.match(r"tmux (\d+).(\d+)", stdout)
+        m = re.match(r"tmux (?:next-)?(\d+).(\d+)", stdout)
         if not m or not (int(m.group(1)), int(m.group(2))) >= (1, 8):
             raise RuntimeError("Need at least tmux 1.8, you have %s." % 
stdout.strip())
 
Thanks,

-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable'), (1, 'experimental')
Architecture: arm64 (aarch64)

Kernel: Linux 6.10-arm64 (SMP w/12 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Reply via email to