1 TESTS_DEB
:= pkg-interest pkg-trigger-conffile pkg-trigger-cmd
6 $(DPKG_INSTALL
) pkg-interest.deb
8 # Test that the trigger gets activated on conffile installation
9 $(DPKG_UNPACK
) pkg-trigger-conffile.deb
10 test -e
"$(DPKG_INSTDIR)/test-triggered-cmd" && $(BEROOT
) rm -f
"$(DPKG_INSTDIR)/test-triggered-cmd"
11 $(DPKG_CONFIGURE
) pkg-trigger-conffile
12 test -e
"$(DPKG_INSTDIR)/test-triggered-file" && $(BEROOT
) rm -f
"$(DPKG_INSTDIR)/test-triggered-file"
13 $(DPKG_PURGE
) pkg-trigger-conffile
15 # Test that the trigger gets activated on explicit file request
16 $(DPKG_INSTALL
) pkg-trigger-cmd.deb
17 test -e
"$(DPKG_INSTDIR)/test-triggered-cmd" && $(BEROOT
) rm -f
"$(DPKG_INSTDIR)/test-triggered-cmd"
18 $(DPKG_PURGE
) pkg-trigger-cmd
21 $(DPKG_PURGE
) pkg-interest
24 $(BEROOT
) rm -f
"$(DPKG_INSTDIR)/test-triggered-cmd" "$(DPKG_INSTDIR)/test-triggered-file"
25 -$(DPKG_PURGE
) pkg-interest
26 -$(DPKG_PURGE
) pkg-trigger-conffile pkg-trigger-cmd