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=c46cb89781f2a7a01d520484752b6e2f61d79a42

commit c46cb89781f2a7a01d520484752b6e2f61d79a42
Author: Guillem Jover <guil...@debian.org>
AuthorDate: Thu Oct 4 17:53:00 2012 +0200

    t-multiarch: Check reinstallation of coinstallable packages with conffiles
    
    Bug-Debian: http://bugs.debian.org/684776
---
 t-multiarch/Makefile | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/t-multiarch/Makefile b/t-multiarch/Makefile
index 45b08b77b..374fc6d7f 100644
--- a/t-multiarch/Makefile
+++ b/t-multiarch/Makefile
@@ -608,6 +608,18 @@ test-coinstall-shared-conffiles: ma-setup
        # propagated to all instances
        $(call stdout_is,$(DPKG_QUERY) -f '$${Conffiles}' -W 
pkg-ma-shared-conffiles:$(NATIVE_ARCH), /m-a/conffile 
7404b80581282025ee3ec6689e111114)
        $(call stdout_is,$(DPKG_QUERY) -f '$${Conffiles}' -W 
pkg-ma-shared-conffiles:$(FOREIGN_ARCH), /m-a/conffile 
7404b80581282025ee3ec6689e111114)
+       # Ensure we can reinstall coinstallable packages with conffiles on
+       # the same run
+       $(DPKG_INSTALL) pkg-ma-shared-conffiles_2.0_orig_$(NATIVE_ARCH).deb \
+                       pkg-ma-shared-conffiles_2.0_orig_$(FOREIGN_ARCH).deb
+       grep -q "Variant: orig Version: 2.0" /m-a/conffile
+       # Ensure we can reinstall coinstallable packages with conffiles on
+       # different runs
+       $(DPKG_UNPACK) pkg-ma-shared-conffiles_2.0_orig_$(FOREIGN_ARCH).deb
+       $(DPKG_UNPACK) pkg-ma-shared-conffiles_2.0_orig_$(NATIVE_ARCH).deb
+       $(DPKG_CONFIGURE) pkg-ma-shared-conffiles:$(NATIVE_ARCH)
+       $(DPKG_CONFIGURE) pkg-ma-shared-conffiles:$(FOREIGN_ARCH)
+       grep -q "Variant: orig Version: 2.0" /m-a/conffile
        # Another time with a downgrade and an unmodified conffile
        $(DPKG_UNPACK) pkg-ma-shared-conffiles_1.0_alt_$(NATIVE_ARCH).deb
        grep -q "Variant: alt" /m-a/conffile.dpkg-new

-- 
Dpkg.Org's dpkg

Reply via email to