blob: 4eeb0f5bbd86a35ab41e94bc97f864a8d40cccdc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
TESTS_DEB := pkg-a pkg-b
include ../Test.mk
test-case:
$(DPKG_INSTALL) pkg-a.deb
# test if the conflicting package fails on install
! $(DPKG_INSTALL) pkg-b.deb
test-clean:
# tell dpkg we do not want pkg-b, even if we asked for it and failed
echo pkg-b purge | $(BEROOT) $(DPKG) --set-selections
-$(DPKG_PURGE) pkg-b
$(DPKG_PURGE) pkg-a
|