summaryrefslogtreecommitdiffstats
path: root/tests/t-dir-leftover-conffile/Makefile
blob: 28ac9e91ec3a2f58ee0eff84ad3e7a9e9828f1a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
TESTS_DEB := pkg-dir-leftover-conffile

include ../Test.mk

test-case:
	$(DPKG_INSTALL) pkg-dir-leftover-conffile.deb
	$(DPKG_REMOVE) pkg-dir-leftover-conffile
	$(DPKG_PURGE) pkg-dir-leftover-conffile
	test ! -d '$(DPKG_INSTDIR)/test-dir'

test-clean:
	$(DPKG_PURGE) pkg-dir-leftover-conffile
	$(BEROOT) rm -rf '$(DPKG_INSTDIR)/test-dir'