feat: Add script.sh with tests
This commit is contained in:
2
tests/files/bad_syntax.plan
Normal file
2
tests/files/bad_syntax.plan
Normal file
@ -0,0 +1,2 @@
|
||||
sources= ('file:/home/user')
|
||||
targets=('file:/var/backup')
|
0
tests/files/empty_script.plan
Normal file
0
tests/files/empty_script.plan
Normal file
2
tests/files/empty_sources.plan
Normal file
2
tests/files/empty_sources.plan
Normal file
@ -0,0 +1,2 @@
|
||||
sources=()
|
||||
targets=('file:/var/backup')
|
2
tests/files/empty_targets.plan
Normal file
2
tests/files/empty_targets.plan
Normal file
@ -0,0 +1,2 @@
|
||||
sources=('file:/home/user')
|
||||
targets=()
|
2
tests/files/no_file_target.plan
Normal file
2
tests/files/no_file_target.plan
Normal file
@ -0,0 +1,2 @@
|
||||
sources=(file:///)
|
||||
targets=(ftp://user:pass@host/path)
|
2
tests/files/unsupported_source_scheme.plan
Normal file
2
tests/files/unsupported_source_scheme.plan
Normal file
@ -0,0 +1,2 @@
|
||||
sources=('mongo:/user:password@localhost/database')
|
||||
targets=('file:/var/backup')
|
2
tests/files/unsupported_target_scheme.plan
Normal file
2
tests/files/unsupported_target_scheme.plan
Normal file
@ -0,0 +1,2 @@
|
||||
sources=('file:/home/user')
|
||||
targets=(scp://user:pass@host/path)
|
Reference in New Issue
Block a user