Control: tags -1 pending

On 13-11-2022 20:54, Paul Gevers wrote:
Attached is a patch that fixes that part of the issue. I must confess that I don't fully grasp why this isn't always a problem (e.g. now on arm64/stable), but on my current bookworm amd64 system the test fails without this patch and passes with the patch.

I have uploaded that patch to DELAYED/5. Please let me know if I should delay further or cancel the upload.

Paul

debdiff attached.
diff -Nru unattended-upgrades-2.9.1+nmu2/debian/changelog 
unattended-upgrades-2.9.1+nmu3/debian/changelog
--- unattended-upgrades-2.9.1+nmu2/debian/changelog     2022-10-23 
03:28:14.000000000 +0200
+++ unattended-upgrades-2.9.1+nmu3/debian/changelog     2022-12-31 
21:59:00.000000000 +0100
@@ -1,3 +1,10 @@
+unattended-upgrades (2.9.1+nmu3) unstable; urgency=medium
+
+  * test: don't confuse -dbg and -unsigned with current running kernel
+    (Closes: #983363, #1012226)
+
+ -- Paul Gevers <elb...@debian.org>  Sat, 31 Dec 2022 21:59:00 +0100
+
 unattended-upgrades (2.9.1+nmu2) unstable; urgency=high
 
   * Non-maintainer upload.
diff -Nru unattended-upgrades-2.9.1+nmu2/test/autopkgtest_kernel_patterns.py 
unattended-upgrades-2.9.1+nmu3/test/autopkgtest_kernel_patterns.py
--- unattended-upgrades-2.9.1+nmu2/test/autopkgtest_kernel_patterns.py  
2022-10-23 03:28:14.000000000 +0200
+++ unattended-upgrades-2.9.1+nmu3/test/autopkgtest_kernel_patterns.py  
2022-12-31 21:59:00.000000000 +0100
@@ -18,7 +18,7 @@
         running_regexp = running_kernel_pkgs_regexp()
         running_kernel_version = subprocess.check_output(
             ["uname", "-r"], universal_newlines=True).rstrip()
-        running_escaped_regexp = ".*" + re.escape(running_kernel_version)
+        running_escaped_regexp = ".*" + re.escape(running_kernel_version) + '$'
         try:
             running_noflavor_regexp = "linux.*-" + re.escape(
                 re.match("[1-9][0-9]*\\.[0-9]+\\.[0-9]+-[0-9]+",

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to