summaryrefslogtreecommitdiffstats
path: root/tests/t-conffile-versioned-replaces-downgrade/pkg-conff-takeover
diff options
context:
space:
mode:
Diffstat (limited to 'tests/t-conffile-versioned-replaces-downgrade/pkg-conff-takeover')
-rw-r--r--tests/t-conffile-versioned-replaces-downgrade/pkg-conff-takeover/DEBIAN/conffiles1
-rw-r--r--tests/t-conffile-versioned-replaces-downgrade/pkg-conff-takeover/DEBIAN/control9
-rw-r--r--tests/t-conffile-versioned-replaces-downgrade/pkg-conff-takeover/test-conffile1
-rw-r--r--tests/t-conffile-versioned-replaces-downgrade/pkg-conff-takeover/test-takeover0
4 files changed, 11 insertions, 0 deletions
diff --git a/tests/t-conffile-versioned-replaces-downgrade/pkg-conff-takeover/DEBIAN/conffiles b/tests/t-conffile-versioned-replaces-downgrade/pkg-conff-takeover/DEBIAN/conffiles
new file mode 100644
index 0000000..4fad7e9
--- /dev/null
+++ b/tests/t-conffile-versioned-replaces-downgrade/pkg-conff-takeover/DEBIAN/conffiles
@@ -0,0 +1 @@
+/test-conffile
diff --git a/tests/t-conffile-versioned-replaces-downgrade/pkg-conff-takeover/DEBIAN/control b/tests/t-conffile-versioned-replaces-downgrade/pkg-conff-takeover/DEBIAN/control
new file mode 100644
index 0000000..22ae20f
--- /dev/null
+++ b/tests/t-conffile-versioned-replaces-downgrade/pkg-conff-takeover/DEBIAN/control
@@ -0,0 +1,9 @@
+Package: pkg-conff-takeover
+Version: 1
+Section: test
+Priority: extra
+Maintainer: Dpkg Developers <debian-dpkg@lists.debian.org>
+Architecture: all
+Replaces: pkg-conff-original (<= 0)
+Description: test package - conffile replaces takeover
+
diff --git a/tests/t-conffile-versioned-replaces-downgrade/pkg-conff-takeover/test-conffile b/tests/t-conffile-versioned-replaces-downgrade/pkg-conff-takeover/test-conffile
new file mode 100644
index 0000000..1bc4643
--- /dev/null
+++ b/tests/t-conffile-versioned-replaces-downgrade/pkg-conff-takeover/test-conffile
@@ -0,0 +1 @@
+test takeover 1
diff --git a/tests/t-conffile-versioned-replaces-downgrade/pkg-conff-takeover/test-takeover b/tests/t-conffile-versioned-replaces-downgrade/pkg-conff-takeover/test-takeover
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/t-conffile-versioned-replaces-downgrade/pkg-conff-takeover/test-takeover