tests.yaml 692 Bytes
Newer Older
Stephane Bortzmeyer's avatar
Stephane Bortzmeyer committed
1
---
2
3
4
5
6
7
8
config:
  timeout: 2
  
tests:
    - exe: './homer.py'
      args:
          - '-h'
Stephane Bortzmeyer's avatar
Stephane Bortzmeyer committed
9

10
11
12
      retcode: 0
      partstderr: 'url-or-servername domain-name [DNS type]'
      stdout: ''
Stephane Bortzmeyer's avatar
Stephane Bortzmeyer committed
13

14
15
16
    - exe: './homer.py'
      args:
          - '--zzz'
Stephane Bortzmeyer's avatar
Stephane Bortzmeyer committed
17

18
19
20
      retcode: 1
      partstderr: 'url-or-servername domain-name [DNS type]'
      stdout: ''
Stephane Bortzmeyer's avatar
Stephane Bortzmeyer committed
21

22
23
24
25
    - exe: './homer.py'
      args:
          - 'https://doh.bortzmeyer.fr/'
          - 'framagit.org'
Stephane Bortzmeyer's avatar
Stephane Bortzmeyer committed
26

27
28
29
30
31
32
33
34
35
36
37
38
39
      retcode: 0
      stderr: ''
      partstdout: '2a01:4f8:'

    - exe: './homer.py'
      args:
          - '--dot'
          - 'dot.bortzmeyer.fr'
          - 'framagit.org'

      retcode: 0
      stderr: ''
      partstdout: '2a01:4f8:'
Stephane Bortzmeyer's avatar
Stephane Bortzmeyer committed
40
41