This is an automated email from the git hooks/post-receive script. guillem pushed a commit to branch master in repository dpkg.
View the commit online: https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=28393ebc386b07734774a886958c17176ac97cec commit 28393ebc386b07734774a886958c17176ac97cec Author: Raphaƫl Hertzog <[email protected]> AuthorDate: Fri Apr 22 10:43:47 2011 +0200 t-multiarch: Ensure --force-depends also works with foreign packages Non-regression test for <https://bugs.launchpad.net/bugs/767634>. Signed-off-by: Guillem Jover <[email protected]> --- t-multiarch/Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/t-multiarch/Makefile b/t-multiarch/Makefile index 5dd530299..9213715f1 100644 --- a/t-multiarch/Makefile +++ b/t-multiarch/Makefile @@ -257,6 +257,7 @@ TEST_CASES_DEPS += test-deps-foreign TEST_CASES_DEPS += test-deps-allowed TEST_CASES_DEPS += test-deps-no TEST_CASES_DEPS += test-deps-self-conflict +TEST_CASES_DEPS += test-deps-force test-deps: $(TEST_CASES_DEPS) @@ -434,6 +435,16 @@ test-deps-self-conflict: ma-setup $(DPKG_PURGE) pkg-ma-self-conflict:$(NATIVE_ARCH) $(DPKG_PURGE) pkg-ma-self-conflict:$(FOREIGN_ARCH) +test-deps-force: ma-setup + # Try --force-depends when dependency is missing + $(DPKG_INSTALL) --force-depends pkg-ma-dep-on-no_1.0_$(FOREIGN_ARCH).deb + $(DPKG_PURGE) pkg-ma-dep-on-no:$(FOREIGN_ARCH) + # Try --force-depends when dependency is of the wrong arch + $(DPKG_INSTALL) pkg-ma-no_1.0_$(NATIVE_ARCH).deb + $(DPKG_INSTALL) --force-depends pkg-ma-dep-on-no_1.0_$(FOREIGN_ARCH).deb + $(DPKG_PURGE) pkg-ma-dep-on-no:$(FOREIGN_ARCH) + $(DPKG_PURGE) pkg-ma-no + common_file = /m-a/common-file # Further customize test packages for test-coinstall-shared-files -- Dpkg.Org's dpkg

