summaryrefslogtreecommitdiffstats
path: root/tests/t-option-recursive/Makefile
blob: c0108ed15ca0fa4955985b4167820c7ec12f654a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
TESTS_DEB := dir-a/pkg-a dir-b/dir-bb/pkg-b pkg-c

include ../Test.mk

test-case:
	# Try recursive directory unpacking of packages
	$(DPKG_INSTALL) -R .
	$(call pkg_is_unpacked,pkg-a)
	$(call pkg_is_unpacked,pkg-b)
	$(call pkg_is_unpacked,pkg-c)
	
	$(DPKG_PURGE) pkg-a
	$(DPKG_PURGE) pkg-b
	$(DPKG_PURGE) pkg-c
	
	# Try recursive directory installation of packages
	$(DPKG_INSTALL) -R .
	$(call pkg_is_installed,pkg-a)
	$(call pkg_is_installed,pkg-b)
	$(call pkg_is_installed,pkg-c)

test-clean:
	$(DPKG_PURGE) pkg-a
	$(DPKG_PURGE) pkg-b
	$(DPKG_PURGE) pkg-c