summaryrefslogtreecommitdiffstats
path: root/tests/t-unpack-fifo/Makefile
blob: eaa848aa89a2c57dc66dc7b92012356ba0904de7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
PKG := pkg-fifo

TESTS_DEB := pkg-fifo

include ../Test.mk

$(PKG)/test-fifo:
	mkfifo $@

build-hook: $(PKG)/test-fifo

clean-hook:
	rm -f $(PKG)/test-fifo

test-case:
	# test unpacking a fifo
	$(DPKG_INSTALL) pkg-fifo.deb
	$(call pkg_is_installed,pkg-fifo)

test-clean:
	$(DPKG_PURGE) pkg-fifo