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-buildinfo/Makefile | 11 +++++++++ tests/t-buildinfo/db-buildinfo/status | 28 +++++++++++++++++++++++ tests/t-buildinfo/db-buildinfo/updates/.keep | 0 tests/t-buildinfo/pkg-source/debian/changelog | 5 ++++ tests/t-buildinfo/pkg-source/debian/control | 13 +++++++++++ tests/t-buildinfo/pkg-source/debian/source/format | 1 + 6 files changed, 58 insertions(+) create mode 100644 tests/t-buildinfo/Makefile create mode 100644 tests/t-buildinfo/db-buildinfo/status create mode 100644 tests/t-buildinfo/db-buildinfo/updates/.keep create mode 100644 tests/t-buildinfo/pkg-source/debian/changelog create mode 100644 tests/t-buildinfo/pkg-source/debian/control create mode 100644 tests/t-buildinfo/pkg-source/debian/source/format (limited to 'tests/t-buildinfo') diff --git a/tests/t-buildinfo/Makefile b/tests/t-buildinfo/Makefile new file mode 100644 index 0000000..019d850 --- /dev/null +++ b/tests/t-buildinfo/Makefile @@ -0,0 +1,11 @@ +OPTS = --admindir=$(CURDIR)/db-buildinfo + +test: + touch test-binary-a_1.0_amd64.deb + dpkg-source -b pkg-source + cd pkg-source && DEB_HOST_ARCH=amd64 dpkg-checkbuilddeps $(OPTS) + cd pkg-source && DEB_HOST_ARCH=amd64 dpkg-genbuildinfo $(OPTS) + +test-clean: + rm -f *.dsc *.deb *.buildinfo + rm -f *.tar.xz diff --git a/tests/t-buildinfo/db-buildinfo/status b/tests/t-buildinfo/db-buildinfo/status new file mode 100644 index 0000000..96c0e2a --- /dev/null +++ b/tests/t-buildinfo/db-buildinfo/status @@ -0,0 +1,28 @@ +Package: pkg-depender +Status: install ok installed +Priority: extra +Section: test +Maintainer: Dpkg Developers +Architecture: i386 +Version: 1.0 +Depends: pkg-virtual +Description: test package + +Package: pkg-provider +Status: install ok installed +Priority: extra +Section: test +Maintainer: Dpkg Developers +Architecture: i386 +Version: 2.0 +Provides: pkg-virtual +Description: test package + +Package: build-essential +Status: install ok installed +Priority: extra +Section: test +Maintainer: Dpkg Developers +Architecture: amd64 +Version: 10.0 +Description: fake package diff --git a/tests/t-buildinfo/db-buildinfo/updates/.keep b/tests/t-buildinfo/db-buildinfo/updates/.keep new file mode 100644 index 0000000..e69de29 diff --git a/tests/t-buildinfo/pkg-source/debian/changelog b/tests/t-buildinfo/pkg-source/debian/changelog new file mode 100644 index 0000000..104fb70 --- /dev/null +++ b/tests/t-buildinfo/pkg-source/debian/changelog @@ -0,0 +1,5 @@ +test-source (1.0) UNRELEASED; urgency=medium + + * Initial release. + + -- Dpkg Developers Fri, 09 Dec 2016 18:48:32 +0100 diff --git a/tests/t-buildinfo/pkg-source/debian/control b/tests/t-buildinfo/pkg-source/debian/control new file mode 100644 index 0000000..e2ff1e1 --- /dev/null +++ b/tests/t-buildinfo/pkg-source/debian/control @@ -0,0 +1,13 @@ +Source: test-source +Section: test +Priority: extra +Maintainer: Dpkg Developers +Build-Depends: + pkg-depender:i386, + pkg-virtual:i386, +Standards-Version: 3.9.8 + +Package: pkg-binary-a +Architecture: amd64 +Multi-Arch: foreign +Description: test binary a diff --git a/tests/t-buildinfo/pkg-source/debian/source/format b/tests/t-buildinfo/pkg-source/debian/source/format new file mode 100644 index 0000000..89ae9db --- /dev/null +++ b/tests/t-buildinfo/pkg-source/debian/source/format @@ -0,0 +1 @@ +3.0 (native) -- cgit v1.2.3