From ea314d2f45c40a006c0104157013ab4b857f665f Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 20:35:28 +0200 Subject: Adding upstream version 1.22.4. Signed-off-by: Daniel Baumann --- tests/t-breaks/Makefile | 12 ++++++++++++ tests/t-breaks/lib-a-0/DEBIAN/control | 7 +++++++ tests/t-breaks/lib-a-1/DEBIAN/control | 7 +++++++ tests/t-breaks/lib-b-0/DEBIAN/control | 7 +++++++ tests/t-breaks/lib-b-1/DEBIAN/control | 7 +++++++ tests/t-breaks/pkg-c/DEBIAN/control | 8 ++++++++ 6 files changed, 48 insertions(+) create mode 100644 tests/t-breaks/Makefile create mode 100644 tests/t-breaks/lib-a-0/DEBIAN/control create mode 100644 tests/t-breaks/lib-a-1/DEBIAN/control create mode 100644 tests/t-breaks/lib-b-0/DEBIAN/control create mode 100644 tests/t-breaks/lib-b-1/DEBIAN/control create mode 100644 tests/t-breaks/pkg-c/DEBIAN/control (limited to 'tests/t-breaks') diff --git a/tests/t-breaks/Makefile b/tests/t-breaks/Makefile new file mode 100644 index 0000000..9ffd02c --- /dev/null +++ b/tests/t-breaks/Makefile @@ -0,0 +1,12 @@ +TESTS_DEB := lib-a-0 lib-a-1 lib-b-0 lib-b-1 pkg-c + +include ../Test.mk + +DPKG_OPTIONS += --auto-deconfigure + +test-case: + $(DPKG_INSTALL) lib-a-0.deb lib-b-0.deb + $(DPKG_INSTALL) pkg-c.deb lib-a-1.deb lib-b-1.deb + +test-clean: + $(DPKG_PURGE) lib-a lib-b pkg-c diff --git a/tests/t-breaks/lib-a-0/DEBIAN/control b/tests/t-breaks/lib-a-0/DEBIAN/control new file mode 100644 index 0000000..241a6fc --- /dev/null +++ b/tests/t-breaks/lib-a-0/DEBIAN/control @@ -0,0 +1,7 @@ +Package: lib-a +Version: 0 +Section: test +Priority: extra +Maintainer: Dpkg Developers +Architecture: all +Description: test package - broken package diff --git a/tests/t-breaks/lib-a-1/DEBIAN/control b/tests/t-breaks/lib-a-1/DEBIAN/control new file mode 100644 index 0000000..e0f19ec --- /dev/null +++ b/tests/t-breaks/lib-a-1/DEBIAN/control @@ -0,0 +1,7 @@ +Package: lib-a +Version: 1 +Section: test +Priority: extra +Maintainer: Dpkg Developers +Architecture: all +Description: test package - broken package diff --git a/tests/t-breaks/lib-b-0/DEBIAN/control b/tests/t-breaks/lib-b-0/DEBIAN/control new file mode 100644 index 0000000..2b34688 --- /dev/null +++ b/tests/t-breaks/lib-b-0/DEBIAN/control @@ -0,0 +1,7 @@ +Package: lib-b +Version: 0 +Section: test +Priority: extra +Maintainer: Dpkg Developers +Architecture: all +Description: test package - broken package diff --git a/tests/t-breaks/lib-b-1/DEBIAN/control b/tests/t-breaks/lib-b-1/DEBIAN/control new file mode 100644 index 0000000..7c423ca --- /dev/null +++ b/tests/t-breaks/lib-b-1/DEBIAN/control @@ -0,0 +1,7 @@ +Package: lib-b +Version: 1 +Section: test +Priority: extra +Maintainer: Dpkg Developers +Architecture: all +Description: test package - broken package diff --git a/tests/t-breaks/pkg-c/DEBIAN/control b/tests/t-breaks/pkg-c/DEBIAN/control new file mode 100644 index 0000000..95ebbac --- /dev/null +++ b/tests/t-breaks/pkg-c/DEBIAN/control @@ -0,0 +1,8 @@ +Package: pkg-c +Version: 0 +Section: test +Priority: extra +Maintainer: Dpkg Developers +Architecture: all +Breaks: lib-b (<< 1) +Description: test package - breaking package -- cgit v1.2.3