From 79ef2e34370e00686fa6d76a2999dd3f9e1ed9b7 Mon Sep 17 00:00:00 2001 From: Johannes Schauer Marin Rodrigues Date: Fri, 26 Jan 2024 09:30:28 +0100 Subject: [PATCH] tests/remove-start-stop-daemon-and-policy-rc-d-in-hook: remove /usr/sbin/start-stop-daemon and not /sbin/start-stop-daemon --- tests/remove-start-stop-daemon-and-policy-rc-d-in-hook | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/remove-start-stop-daemon-and-policy-rc-d-in-hook b/tests/remove-start-stop-daemon-and-policy-rc-d-in-hook index 74648da..d9c4be6 100644 --- a/tests/remove-start-stop-daemon-and-policy-rc-d-in-hook +++ b/tests/remove-start-stop-daemon-and-policy-rc-d-in-hook @@ -2,5 +2,7 @@ set -eu export LC_ALL=C.UTF-8 trap "rm -f /tmp/debian-chroot.tar" EXIT INT TERM -{{ CMD }} --mode={{ MODE }} --variant=apt --customize-hook='rm "$1/usr/sbin/policy-rc.d"; rm "$1/sbin/start-stop-daemon"' {{ DIST }} /tmp/debian-chroot.tar {{ MIRROR }} +{{ CMD }} --mode={{ MODE }} --variant=apt \ + --customize-hook='rm "$1/usr/sbin/policy-rc.d"; rm "$1/usr/sbin/start-stop-daemon"' \ + {{ DIST }} /tmp/debian-chroot.tar {{ MIRROR }} tar -tf /tmp/debian-chroot.tar | sort | diff -u tar1.txt -