summaryrefslogtreecommitdiffstats
path: root/tests/t-conffile-normal/Makefile
blob: 52f29c70956d552f06017aabdfa5d4480d61f98d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
TESTS_DEB := pkg-conffile

include ../Test.mk

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

test-clean:
	$(DPKG_PURGE) pkg-conffile
	$(BEROOT) $(RM) -rf "$(DPKG_INSTDIR)/test-dir"