Add unit testing
This commit is contained in:
parent
401dd4fa8e
commit
8f5d9b2c97
52 changed files with 89 additions and 118 deletions
0
test/conf/ccollect_local-with
Normal file
0
test/conf/ccollect_local-with
Normal file
0
test/conf/ccollect_source
Normal file
0
test/conf/ccollect_source
Normal file
1
test/conf/defaults/intervals/daily
Normal file
1
test/conf/defaults/intervals/daily
Normal file
|
|
@ -0,0 +1 @@
|
|||
5
|
||||
1
test/conf/defaults/intervals/monthly
Normal file
1
test/conf/defaults/intervals/monthly
Normal file
|
|
@ -0,0 +1 @@
|
|||
4
|
||||
1
test/conf/defaults/intervals/normal
Normal file
1
test/conf/defaults/intervals/normal
Normal file
|
|
@ -0,0 +1 @@
|
|||
4
|
||||
1
test/conf/defaults/intervals/weekly
Normal file
1
test/conf/defaults/intervals/weekly
Normal file
|
|
@ -0,0 +1 @@
|
|||
2
|
||||
5
test/conf/defaults/post_exec
Executable file
5
test/conf/defaults/post_exec
Executable file
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/cat
|
||||
|
||||
######################################################################
|
||||
General post_exec executed.
|
||||
######################################################################
|
||||
5
test/conf/defaults/pre_exec
Executable file
5
test/conf/defaults/pre_exec
Executable file
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/cat
|
||||
|
||||
######################################################################
|
||||
General pre__exec executed.
|
||||
######################################################################
|
||||
1
test/conf/defaults/sources/exclude
Normal file
1
test/conf/defaults/sources/exclude
Normal file
|
|
@ -0,0 +1 @@
|
|||
.git
|
||||
0
test/conf/defaults/sources/rsync_options
Normal file
0
test/conf/defaults/sources/rsync_options
Normal file
0
test/conf/defaults/sources/verbose
Normal file
0
test/conf/defaults/sources/verbose
Normal file
0
test/conf/defaults/verbose
Normal file
0
test/conf/defaults/verbose
Normal file
0
test/conf/sources/delete_incomplete/delete_incomplete
Normal file
0
test/conf/sources/delete_incomplete/delete_incomplete
Normal file
1
test/conf/sources/delete_incomplete/destination
Normal file
1
test/conf/sources/delete_incomplete/destination
Normal file
|
|
@ -0,0 +1 @@
|
|||
/tmp/ccollect/backup
|
||||
1
test/conf/sources/delete_incomplete/exclude
Normal file
1
test/conf/sources/delete_incomplete/exclude
Normal file
|
|
@ -0,0 +1 @@
|
|||
.git
|
||||
1
test/conf/sources/delete_incomplete/source
Normal file
1
test/conf/sources/delete_incomplete/source
Normal file
|
|
@ -0,0 +1 @@
|
|||
/tmp/ccollect/source
|
||||
1
test/conf/sources/local-with&ersand/destination
Normal file
1
test/conf/sources/local-with&ersand/destination
Normal file
|
|
@ -0,0 +1 @@
|
|||
/tmp/ccollect/backup
|
||||
1
test/conf/sources/local-with&ersand/exclude
Normal file
1
test/conf/sources/local-with&ersand/exclude
Normal file
|
|
@ -0,0 +1 @@
|
|||
.git
|
||||
1
test/conf/sources/local-with&ersand/source
Normal file
1
test/conf/sources/local-with&ersand/source
Normal file
|
|
@ -0,0 +1 @@
|
|||
/tmp/ccollect/source
|
||||
0
test/conf/sources/local-with-interval/delete_incomplete
Normal file
0
test/conf/sources/local-with-interval/delete_incomplete
Normal file
1
test/conf/sources/local-with-interval/destination
Normal file
1
test/conf/sources/local-with-interval/destination
Normal file
|
|
@ -0,0 +1 @@
|
|||
/tmp/ccollect/backup-chint
|
||||
1
test/conf/sources/local-with-interval/exclude
Normal file
1
test/conf/sources/local-with-interval/exclude
Normal file
|
|
@ -0,0 +1 @@
|
|||
.git
|
||||
1
test/conf/sources/local-with-interval/intervals/daily
Normal file
1
test/conf/sources/local-with-interval/intervals/daily
Normal file
|
|
@ -0,0 +1 @@
|
|||
3
|
||||
1
test/conf/sources/local-with-interval/source
Normal file
1
test/conf/sources/local-with-interval/source
Normal file
|
|
@ -0,0 +1 @@
|
|||
/tmp/ccollect/source
|
||||
0
test/conf/sources/local-with-interval/verbose
Normal file
0
test/conf/sources/local-with-interval/verbose
Normal file
1
test/conf/sources/local/destination
Normal file
1
test/conf/sources/local/destination
Normal file
|
|
@ -0,0 +1 @@
|
|||
/tmp/ccollect/backup
|
||||
1
test/conf/sources/local/exclude
Normal file
1
test/conf/sources/local/exclude
Normal file
|
|
@ -0,0 +1 @@
|
|||
.git
|
||||
0
test/conf/sources/local/no_verbose
Normal file
0
test/conf/sources/local/no_verbose
Normal file
1
test/conf/sources/local/source
Normal file
1
test/conf/sources/local/source
Normal file
|
|
@ -0,0 +1 @@
|
|||
/tmp/ccollect/source
|
||||
|
|
@ -0,0 +1 @@
|
|||
/tmp/ccollect/backup
|
||||
|
|
@ -0,0 +1 @@
|
|||
.git
|
||||
1
test/conf/sources/source with spaces and interval/source
Normal file
1
test/conf/sources/source with spaces and interval/source
Normal file
|
|
@ -0,0 +1 @@
|
|||
/tmp/ccollect/source
|
||||
1
test/conf/sources/very_verbose/destination
Normal file
1
test/conf/sources/very_verbose/destination
Normal file
|
|
@ -0,0 +1 @@
|
|||
/tmp/ccollect/backup
|
||||
1
test/conf/sources/very_verbose/exclude
Normal file
1
test/conf/sources/very_verbose/exclude
Normal file
|
|
@ -0,0 +1 @@
|
|||
.git
|
||||
1
test/conf/sources/very_verbose/source
Normal file
1
test/conf/sources/very_verbose/source
Normal file
|
|
@ -0,0 +1 @@
|
|||
/tmp/ccollect/source
|
||||
0
test/conf/sources/very_verbose/summary
Normal file
0
test/conf/sources/very_verbose/summary
Normal file
0
test/conf/sources/very_verbose/verbose
Normal file
0
test/conf/sources/very_verbose/verbose
Normal file
0
test/conf/sources/very_verbose/very_verbose
Normal file
0
test/conf/sources/very_verbose/very_verbose
Normal file
1
test/conf/sources/with_exec/destination
Normal file
1
test/conf/sources/with_exec/destination
Normal file
|
|
@ -0,0 +1 @@
|
|||
/tmp/ccollect/backup
|
||||
5
test/conf/sources/with_exec/post_exec
Executable file
5
test/conf/sources/with_exec/post_exec
Executable file
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/cat
|
||||
|
||||
######################################################################
|
||||
Source post_exec executed.
|
||||
######################################################################
|
||||
5
test/conf/sources/with_exec/pre_exec
Executable file
5
test/conf/sources/with_exec/pre_exec
Executable file
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/cat
|
||||
|
||||
######################################################################
|
||||
Source pre_exec executed.
|
||||
######################################################################
|
||||
1
test/conf/sources/with_exec/source
Normal file
1
test/conf/sources/with_exec/source
Normal file
|
|
@ -0,0 +1 @@
|
|||
/tmp/ccollect/source
|
||||
Loading…
Add table
Add a link
Reference in a new issue