From cbffab246997fb5a06211dfb706b54e5ae5bb59f Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 16:58:51 +0200 Subject: Adding upstream version 1.21.22. Signed-off-by: Daniel Baumann --- tests/t-conffile-prompt/pkg-conff-prompt-0/DEBIAN/conffiles | 2 ++ tests/t-conffile-prompt/pkg-conff-prompt-0/DEBIAN/control | 8 ++++++++ tests/t-conffile-prompt/pkg-conff-prompt-0/DEBIAN/postinst | 3 +++ tests/t-conffile-prompt/pkg-conff-prompt-0/test-conffile | 1 + 4 files changed, 14 insertions(+) create mode 100644 tests/t-conffile-prompt/pkg-conff-prompt-0/DEBIAN/conffiles create mode 100644 tests/t-conffile-prompt/pkg-conff-prompt-0/DEBIAN/control create mode 100755 tests/t-conffile-prompt/pkg-conff-prompt-0/DEBIAN/postinst create mode 100644 tests/t-conffile-prompt/pkg-conff-prompt-0/test-conffile (limited to 'tests/t-conffile-prompt/pkg-conff-prompt-0') diff --git a/tests/t-conffile-prompt/pkg-conff-prompt-0/DEBIAN/conffiles b/tests/t-conffile-prompt/pkg-conff-prompt-0/DEBIAN/conffiles new file mode 100644 index 0000000..ef41b42 --- /dev/null +++ b/tests/t-conffile-prompt/pkg-conff-prompt-0/DEBIAN/conffiles @@ -0,0 +1,2 @@ +/test-conffile +/test-conffile with spaces diff --git a/tests/t-conffile-prompt/pkg-conff-prompt-0/DEBIAN/control b/tests/t-conffile-prompt/pkg-conff-prompt-0/DEBIAN/control new file mode 100644 index 0000000..3aeb1b2 --- /dev/null +++ b/tests/t-conffile-prompt/pkg-conff-prompt-0/DEBIAN/control @@ -0,0 +1,8 @@ +Package: pkg-conff-prompt +Version: 0 +Section: test +Priority: extra +Maintainer: Dpkg Developers +Architecture: all +Description: test package - conffile prompt + diff --git a/tests/t-conffile-prompt/pkg-conff-prompt-0/DEBIAN/postinst b/tests/t-conffile-prompt/pkg-conff-prompt-0/DEBIAN/postinst new file mode 100755 index 0000000..27be638 --- /dev/null +++ b/tests/t-conffile-prompt/pkg-conff-prompt-0/DEBIAN/postinst @@ -0,0 +1,3 @@ +#!/bin/sh +echo "test modified" >"$DPKG_ROOT/test-conffile" +echo "test modified spaces" >"$DPKG_ROOT/test-conffile with spaces" diff --git a/tests/t-conffile-prompt/pkg-conff-prompt-0/test-conffile b/tests/t-conffile-prompt/pkg-conff-prompt-0/test-conffile new file mode 100644 index 0000000..6fbc8b5 --- /dev/null +++ b/tests/t-conffile-prompt/pkg-conff-prompt-0/test-conffile @@ -0,0 +1 @@ +test init -- cgit v1.2.3