summaryrefslogtreecommitdiffstats
path: root/tests/t-verify/Makefile
blob: 2763e84754f32e096414e6d8a181291a7baeb1cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
TESTS_DEB := pkg-verify

include ../Test.mk

test-case:
	$(DPKG_INSTALL) pkg-verify.deb
	$(call pkg_is_installed,pkg-verify)
	$(call stdout_is,$(DPKG_VERIFY) pkg-verify,)
	$(BEROOT) sh -c "echo 'MODIFIED' >>'$(DPKG_INSTDIR)/test-dir/test-data'"
	$(call stdout_has,$(DPKG_VERIFY) pkg-verify,^\?\?5\?\?\?\?\?\?   /test-dir/test-data$)

test-clean:
	$(DPKG_PURGE) pkg-verify