Commit 2fc229b5 authored by Alexandre's avatar Alexandre
Browse files

Write tests for multi-streams

parent dde18c81
---
tests:
- exe: './homer.py'
args:
- '-h'
......@@ -23,8 +23,8 @@
retcode: 0
stderr: ''
partstdout: '2a01:4f8:200:1302::42'
partstdout: '2a01:4f8:'
- exe: './homer.py'
args:
- '--dot'
......@@ -33,6 +33,56 @@
retcode: 0
stderr: ''
partstdout: '2a01:4f8:200:1302::42'
\ No newline at end of file
partstdout: '2a01:4f8:'
- exe : './homer.py'
args:
- '--multistreams'
- '--dot'
- 'dot.bortzmeyer.fr'
- 'framagit.org'
retcode: 1
partstderr: 'Multi-streams makes no sense for DoT'
stdout: ''
- exe : './homer.py'
args:
- '--multistreams'
- 'dot.bortzmeyer.fr'
- 'framagit.org'
retcode: 1
partstderr: 'Multi-streams requires an input file'
stdout: ''
- exe : './homer.py'
args:
- '--multistreams'
- '--file'
- 'input_file'
- 'dot.bortzmeyer.fr'
- 'framagit.org'
retcode: 1
partstderr: 'Wrong number of arguments'
stdout: ''
- exe : './homer.py'
args:
- '--multistreams'
- '--file'
- 'input_file'
- 'dot.bortzmeyer.fr'
retcode: 1
partstderr: 'DoH requires a valid'
stdout: ''
- exe : './homer.py'
args:
- '--multistreams'
- '--file'
- 'input_file'
- 'https://doh.bortzmeyer.fr'
retcode: 0
stderr: ''
partstdout: 'NOERR'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment