insert more faults into test setup and remove previous test

Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
This commit is contained in:
Nico Schottelius 2009-11-01 15:12:16 +01:00
parent 564ef0bd87
commit 7de72e5e8d

View file

@ -194,20 +194,8 @@ dist: distclean documentation
mkdir -p /tmp/ccollect mkdir -p /tmp/ccollect
test: ccollect.sh /tmp/ccollect test: ccollect.sh /tmp/ccollect
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 very_verbose
touch /tmp/ccollect/$$(ls /tmp/ccollect | head -n1).ccollect-marker
CCOLLECT_CONF=./conf ./ccollect.sh daily delete_incomplete
CCOLLECT_CONF=./conf ./ccollect.sh daily no-source-must-fail
test2: ccollect.sh /tmp/ccollect
cd ./conf/sources/; for s in *; do CCOLLECT_CONF=../ ../../ccollect.sh daily "$$s"; done cd ./conf/sources/; for s in *; do CCOLLECT_CONF=../ ../../ccollect.sh daily "$$s"; done
touch /tmp/ccollect/$$(ls /tmp/ccollect | head -n1).ccollect-marker touch /tmp/ccollect/$$(ls /tmp/ccollect | head -n1).ccollect-marker
CCOLLECT_CONF=./conf ./ccollect.sh -a daily CCOLLECT_CONF=./conf ./ccollect.sh -a daily
touch /tmp/ccollect/$$(ls /tmp/ccollect | head -n1).ccollect-marker
CCOLLECT_CONF=./conf ./ccollect.sh -a -p daily CCOLLECT_CONF=./conf ./ccollect.sh -a -p daily