add smaller tests - easier to detect the problem

Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
This commit is contained in:
Nico Schottelius 2009-07-27 20:38:55 +02:00
parent 428670b4e7
commit 4e3c5922ee

View file

@ -189,6 +189,16 @@ distclean: clean
#
dist: distclean documentation
test: ccollect.sh documentation
#test: ccollect.sh documentation
test: ccollect.sh
mkdir -p /tmp/ccollect
CCOLLECT_CONF=./conf ./ccollect.sh -a daily
CCOLLECT_CONF=./conf ./ccollect.sh daily from-remote
CCOLLECT_CONF=./conf ./ccollect.sh daily local
CCOLLECT_CONF=./conf ./ccollect.sh daily "local-with&ampersand"
CCOLLECT_CONF=./conf ./ccollect.sh daily source-without-destination
CCOLLECT_CONF=./conf ./ccollect.sh daily "source with spaces and interval"
CCOLLECT_CONF=./conf ./ccollect.sh daily to-remote
CCOLLECT_CONF=./conf ./ccollect.sh daily with_exec
CCOLLECT_CONF=./conf ./ccollect.sh daily no-source-must-fail
# for s in $$(ls ./conf/sources); do CCOLLECT_CONF=./conf echo ./ccollect.sh daily $$s; done
# CCOLLECT_CONF=./conf ./ccollect.sh -a daily