Dpkg::Vendor::Debian: Move time64 buildflags feature from future to abi
[dpkg.git] / tests / t-disappear-depended / Makefile
blob212fc9b39d23341951d7f922de53fa06ba65940a
1 TESTS_DEB := pkg-normal pkg-depend pkg-disappear
3 include ../Test.mk
5 test-case:
6 # Test disappearing depended package.
7 $(DPKG_INSTALL) pkg-disappear.deb
8 $(DPKG_INSTALL) pkg-depend.deb
9 $(DPKG_INSTALL) pkg-normal.deb
10 # Should not disappear while it is being depended on.
11 $(call pkg_is_installed,pkg-disappear)
12 $(DPKG_PURGE) pkg-depend
13 $(DPKG_PURGE) pkg-normal
15 # Should disappear now that it is not being depended on.
16 $(DPKG_INSTALL) pkg-disappear.deb
17 $(DPKG_INSTALL) pkg-normal.deb
18 # Should have been disappered now.
19 $(call pkg_is_not_installed,pkg-disappear)
21 test-clean:
22 -$(DPKG_PURGE) pkg-depend
23 -$(DPKG_PURGE) pkg-disappear
24 $(DPKG_PURGE) pkg-normal