Dpkg::Vendor::Debian: Move time64 buildflags feature from future to abi
[dpkg.git] / tests / t-conflict-provide-replace-interface / Makefile
blob6aefafbe9949e02fdc36ac1d7fd737ebc6f21f7f
1 TESTS_DEB := pkg-a pkg-b
3 include ../Test.mk
5 test-case:
6 $(DPKG_INSTALL) pkg-a.deb
7 # The user was not explicit in the request, fail
8 ! $(DPKG_INSTALL) pkg-b.deb
9 # Even if requesting auto-deconfigure the request is not explicit
10 # enough, fail
11 ! $(DPKG_INSTALL) -B pkg-b.deb
12 # Set up the desired transaction
13 echo pkg-a deinstall | $(BEROOT) $(DPKG) --set-selections
14 $(DPKG_INSTALL) pkg-b.deb
16 test-clean:
17 $(DPKG_PURGE) pkg-b
18 -$(DPKG_PURGE) pkg-a