summaryrefslogtreecommitdiffstats
path: root/tests/skip-start-stop-daemon-policy-rc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/skip-start-stop-daemon-policy-rc')
-rw-r--r--tests/skip-start-stop-daemon-policy-rc10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/skip-start-stop-daemon-policy-rc b/tests/skip-start-stop-daemon-policy-rc
new file mode 100644
index 0000000..bdf5469
--- /dev/null
+++ b/tests/skip-start-stop-daemon-policy-rc
@@ -0,0 +1,10 @@
+#!/bin/sh
+set -eu
+export LC_ALL=C.UTF-8
+trap "rm -f /tmp/debian-chroot.tar" EXIT INT TERM
+{{ CMD }} --mode={{ MODE }} --variant=apt \
+ --skip=chroot/start-stop-daemon,chroot/policy-rc.d \
+ --customize-hook='test ! -e "$1/sbin/start-stop-daemon.REAL"' \
+ --customize-hook='test ! -e "$1/usr/sbin/policy-rc.d"' \
+ {{ DIST }} /tmp/debian-chroot.tar {{ MIRROR }}
+tar -tf /tmp/debian-chroot.tar | sort | diff -u tar1.txt -