summaryrefslogtreecommitdiffstats
path: root/debian/tests/reinstall-samba-common-bin
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 17:20:02 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 17:20:02 +0000
commit0a354ad0b2c9eaaa204c31db478da109dc6d2a8b (patch)
tree2467caa8ad20a7fca31bef64224e41a4238db0c9 /debian/tests/reinstall-samba-common-bin
parentAdding upstream version 2:4.20.0+dfsg. (diff)
downloadsamba-0a354ad0b2c9eaaa204c31db478da109dc6d2a8b.tar.xz
samba-0a354ad0b2c9eaaa204c31db478da109dc6d2a8b.zip
Adding debian version 2:4.20.0+dfsg-1~exp1.debian/2%4.20.0+dfsg-1_exp1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/tests/reinstall-samba-common-bin')
-rw-r--r--debian/tests/reinstall-samba-common-bin11
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/tests/reinstall-samba-common-bin b/debian/tests/reinstall-samba-common-bin
new file mode 100644
index 0000000..ad3ebed
--- /dev/null
+++ b/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