summaryrefslogtreecommitdiffstats
path: root/debian/tests/reinstall-samba-common-bin
blob: ad3ebed953e23428c3a6284346537a388ba1be89 (plain)
1
2
3
4
5
6
7
8
9
10
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