begin to create bigger automated tests
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
This commit is contained in:
parent
e508ef052f
commit
d79c2b0a28
1 changed files with 7 additions and 3 deletions
10
Makefile
10
Makefile
|
@ -190,8 +190,10 @@ distclean: clean
|
|||
dist: distclean documentation
|
||||
|
||||
#test: ccollect.sh documentation
|
||||
test: ccollect.sh
|
||||
/tmp/ccollect:
|
||||
mkdir -p /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&ersand"
|
||||
|
@ -203,5 +205,7 @@ test: ccollect.sh
|
|||
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
|
||||
# for s in $$(ls ./conf/sources); do CCOLLECT_CONF=./conf echo ./ccollect.sh daily $$s; done
|
||||
# CCOLLECT_CONF=./conf ./ccollect.sh -a daily
|
||||
|
||||
test2: ccollect.sh /tmp/ccollect
|
||||
cd ./conf/sources/; for s in *; do CCOLLECT_CONF=../ ../../ccollect.sh daily "$$s"; done
|
||||
CCOLLECT_CONF=./conf ./ccollect.sh -a daily
|
||||
|
|
Loading…
Reference in a new issue