man: Improve description for dpkg-build-api v1 items
[dpkg.git] / tests / t-file-conflicts / Makefile
blob4eeb0f5bbd86a35ab41e94bc97f864a8d40cccdc
1 TESTS_DEB := pkg-a pkg-b
3 include ../Test.mk
5 test-case:
6 $(DPKG_INSTALL) pkg-a.deb
7 # test if the conflicting package fails on install
8 ! $(DPKG_INSTALL) pkg-b.deb
10 test-clean:
11 # tell dpkg we do not want pkg-b, even if we asked for it and failed
12 echo pkg-b purge | $(BEROOT) $(DPKG) --set-selections
13 -$(DPKG_PURGE) pkg-b
14 $(DPKG_PURGE) pkg-a