[minor] test mig/modules entry in Makefile

This commit is contained in:
Julien Vehent 2015-05-07 17:21:43 -04:00
Родитель 704f36a524
Коммит 5740760dc0
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -309,6 +309,9 @@ doc:
test: mig-agent
$(BINDIR)/mig-agent-latest -m=file '{"searches": {"shouldmatch": {"names": ["^root"],"sizes": ["<10m"],"options": {"matchall": true},"paths": ["/etc/passwd"]},"shouldnotmatch": {"options": {"maxdepth": 1},"paths": ["/tmp"],"contents": ["should not match"]}}}'
test-modules:
$(GO) test mig/modules
clean-agent:
find bin/ -name mig-agent* -exec rm {} \;
rm -rf packages