[Pkg-samba-maint] [Git][samba-team/samba][master] 3 commits: Add autopkgtest to verify tmpfiles setup (LP: #1905387)

Mathieu Parent (@sathieu) gitlab at salsa.debian.org
Fri May 28 08:01:36 BST 2021



Mathieu Parent pushed to branch master at Debian Samba Team / samba


Commits:
87aedfc5 by Athos Ribeiro at 2021-05-27T14:25:02-03:00
Add autopkgtest to verify tmpfiles setup (LP: #1905387)

  - debian/t/reinstall-samba-common-bin: make sure /run/samba is created
    by the samba-common-bin installation process (postinst script)
  - d/t/control: run new reinstall-samba-common-bin test case

- - - - -
89c8067e by Athos Ribeiro at 2021-05-27T14:28:05-03:00
Changelog for 2:4.13.5+dfsg-2.1

- - - - -
a0059c86 by Mathieu Parent at 2021-05-28T07:01:27+00:00
Merge branch 'test-reinstall-common-bin' into 'master'

Add autopkgtest to verify tmpfiles setup

See merge request samba-team/samba!53
- - - - -


3 changed files:

- debian/changelog
- debian/tests/control
- + debian/tests/reinstall-samba-common-bin


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,13 @@
+samba (2:4.13.5+dfsg-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Add autopkgtest to verify tmpfiles setup (LP: #1905387)
+    - debian/t/reinstall-samba-common-bin: make sure /run/samba is created
+      by the samba-common-bin installation process (postinst script)
+    - d/t/control: run new reinstall-samba-common-bin test case
+
+ -- Athos Ribeiro <athos.ribeiro at canonical.com>  Thu, 27 May 2021 14:26:47 -0300
+
 samba (2:4.13.5+dfsg-2) unstable; urgency=high
 
   * CVE-2021-20254: Negative idmap cache entries can cause incorrect group


=====================================
debian/tests/control
=====================================
@@ -24,3 +24,7 @@ Restrictions: needs-root, allow-stderr, isolation-container
 Tests: smbclient-share-access-uring
 Depends: samba, samba-vfs-modules, smbclient, coreutils, systemd, passwd
 Restrictions: needs-root, allow-stderr, isolation-container, skippable
+
+Tests: reinstall-samba-common-bin
+Depends: samba-common, samba-common-bin
+Restrictions: needs-root, needs-reboot, isolation-machine, allow-stderr


=====================================
debian/tests/reinstall-samba-common-bin
=====================================
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+set -xe
+
+# Test regression on systemd-tmpfiles /run/samba presence for postinst script
+if [ -z $AUTOPKGTEST_REBOOT_MARK ]; then
+  apt remove -y samba-common-bin
+  /tmp/autopkgtest-reboot reboot_mark
+else
+  apt install -y samba-common-bin
+fi



View it on GitLab: https://salsa.debian.org/samba-team/samba/-/compare/197e2ec7f6fb798171ebffc3885a5241d970b396...a0059c86dd48eb6a2556445cf7fcad8ea89f4a9c

-- 
View it on GitLab: https://salsa.debian.org/samba-team/samba/-/compare/197e2ec7f6fb798171ebffc3885a5241d970b396...a0059c86dd48eb6a2556445cf7fcad8ea89f4a9c
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-samba-maint/attachments/20210528/521ef517/attachment-0001.htm>


More information about the Pkg-samba-maint mailing list