diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-08-07 13:30:09 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-08-07 13:30:09 +0000 |
commit | 3c05da1bdef2a6e2142b4fcac974e7e3fc0db93c (patch) | |
tree | 9532e637f47d6ff7246ccbabb62d4e2b4b5908df /tests/t-db | |
parent | Adding debian version 1.22.6. (diff) | |
download | dpkg-3c05da1bdef2a6e2142b4fcac974e7e3fc0db93c.tar.xz dpkg-3c05da1bdef2a6e2142b4fcac974e7e3fc0db93c.zip |
Merging upstream version 1.22.7.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/t-db')
-rw-r--r-- | tests/t-db/Makefile | 10 | ||||
-rw-r--r-- | tests/t-db/db-bogus-versioned-provides-update/status | 10 | ||||
-rw-r--r-- | tests/t-db/db-bogus-versioned-provides-update/updates/.keep | 0 | ||||
-rw-r--r-- | tests/t-db/db-bogus-versioned-provides-update/updates/0001 | 10 | ||||
-rw-r--r-- | tests/t-db/db-bogus-versioned-provides/status | 21 | ||||
-rw-r--r-- | tests/t-db/db-bogus-versioned-provides/updates/.keep | 0 |
6 files changed, 51 insertions, 0 deletions
diff --git a/tests/t-db/Makefile b/tests/t-db/Makefile index 2e5b621..a64e28c 100644 --- a/tests/t-db/Makefile +++ b/tests/t-db/Makefile @@ -16,6 +16,8 @@ TEST_CASES += test-bogus-dupe-same-single TEST_CASES += test-bogus-dupe-diff-single TEST_CASES += test-bogus-multi TEST_CASES += test-bogus-multi-update +TEST_CASES += test-bogus-versioned-provides +TEST_CASES += test-bogus-versioned-provides-update test-case: $(TEST_CASES) @@ -58,3 +60,11 @@ test-bogus-multi: test-bogus-multi-update: override DPKG_ADMINDIR = db-bogus-multi-update test-bogus-multi-update: $(call stderr_has,$(PKG_TUPLE),error) + +test-bogus-versioned-provides: override DPKG_ADMINDIR = db-bogus-versioned-provides +test-bogus-versioned-provides: + $(call stderr_has,$(PKG_TUPLE),warning) + +test-bogus-versioned-provides-update: override DPKG_ADMINDIR = db-bogus-versioned-provides-update +test-bogus-versioned-provides-update: + $(call stderr_has,$(PKG_TUPLE),warning) diff --git a/tests/t-db/db-bogus-versioned-provides-update/status b/tests/t-db/db-bogus-versioned-provides-update/status new file mode 100644 index 0000000..ce0b2eb --- /dev/null +++ b/tests/t-db/db-bogus-versioned-provides-update/status @@ -0,0 +1,10 @@ +Package: pkg-correct-versioned-provides +Status: install ok installed +Priority: extra +Section: test +Maintainer: Dpkg Developers <debian-dpkg@lists.debian.org> +Architecture: amd64 +Version: 1.0 +Provides: pkg-correct (= 1.0) +Description: test package + Correct versioned Provides with equal operator. diff --git a/tests/t-db/db-bogus-versioned-provides-update/updates/.keep b/tests/t-db/db-bogus-versioned-provides-update/updates/.keep new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/t-db/db-bogus-versioned-provides-update/updates/.keep diff --git a/tests/t-db/db-bogus-versioned-provides-update/updates/0001 b/tests/t-db/db-bogus-versioned-provides-update/updates/0001 new file mode 100644 index 0000000..4851dfb --- /dev/null +++ b/tests/t-db/db-bogus-versioned-provides-update/updates/0001 @@ -0,0 +1,10 @@ +Package: pkg-bogus-versioned-provides +Status: install ok installed +Priority: extra +Section: test +Maintainer: Dpkg Developers <debian-dpkg@lists.debian.org> +Architecture: amd64 +Version: 1.0 +Provides: pkg-bogus (>= 1.0) +Description: test package + Bogus versioned provides with non-equal operator. diff --git a/tests/t-db/db-bogus-versioned-provides/status b/tests/t-db/db-bogus-versioned-provides/status new file mode 100644 index 0000000..bd3858c --- /dev/null +++ b/tests/t-db/db-bogus-versioned-provides/status @@ -0,0 +1,21 @@ +Package: pkg-bogus-versioned-provides +Status: install ok installed +Priority: extra +Section: test +Maintainer: Dpkg Developers <debian-dpkg@lists.debian.org> +Architecture: amd64 +Version: 1.0 +Provides: pkg-bogus (>= 1.0) +Description: test package + Bogus versioned provides with non-equal operator. + +Package: pkg-correct-versioned-provides +Status: install ok installed +Priority: extra +Section: test +Maintainer: Dpkg Developers <debian-dpkg@lists.debian.org> +Architecture: amd64 +Version: 1.0 +Provides: pkg-correct (= 1.0) +Description: test package + Correct versioned Provides with equal operator. diff --git a/tests/t-db/db-bogus-versioned-provides/updates/.keep b/tests/t-db/db-bogus-versioned-provides/updates/.keep new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/t-db/db-bogus-versioned-provides/updates/.keep |