2
2
3
3
[[cmd ]]
4
4
name = " Running with ‘caa.example’ prints the correct CAA record"
5
- shell = " dog --colour=always --tcp @madns.binarystar.systems:5301 CAA caa.example"
5
+ shell = " dog --colour=always ${MADNS_ARGS:- @madns.binarystar.systems:5301 --tcp} CAA caa.example"
6
6
stdout = { file = " outputs/caa.example.ansitxt" }
7
7
stderr = { empty = true }
8
8
status = 0
9
9
tags = [ " caa" , " madns" ]
10
10
11
11
[[cmd ]]
12
12
name = " Running with ‘critical.caa.example’ prints the correct CAA record with the flag"
13
- shell = " dog --colour=always --tcp @madns.binarystar.systems:5301 CAA critical.caa.example"
13
+ shell = " dog --colour=always ${MADNS_ARGS:- @madns.binarystar.systems:5301 --tcp} CAA critical.caa.example"
14
14
stdout = { file = " outputs/critical.caa.example.ansitxt" }
15
15
stderr = { empty = true }
16
16
status = 0
17
17
tags = [ " caa" , " madns" ]
18
18
19
19
[[cmd ]]
20
20
name = " Running with ‘others.caa.example’ prints the correct CAA record and ignores the flags"
21
- shell = " dog --colour=always --tcp @madns.binarystar.systems:5301 CAA others.caa.example"
21
+ shell = " dog --colour=always ${MADNS_ARGS:- @madns.binarystar.systems:5301 --tcp} CAA others.caa.example"
22
22
stdout = { file = " outputs/others.caa.example.ansitxt" }
23
23
stderr = { empty = true }
24
24
status = 0
@@ -29,23 +29,23 @@ tags = [ "caa", "madns" ]
29
29
30
30
[[cmd ]]
31
31
name = " Running with ‘caa.example’ prints the correct CAA record structure"
32
- shell = " dog --colour=always --tcp @madns.binarystar.systems:5301 CAA caa.example --json | jq"
32
+ shell = " dog --colour=always ${MADNS_ARGS:- @madns.binarystar.systems:5301 --tcp} CAA caa.example --json | jq"
33
33
stdout = { file = " outputs/caa.example.json" }
34
34
stderr = { empty = true }
35
35
status = 0
36
36
tags = [ " caa" , " madns" , " json" ]
37
37
38
38
[[cmd ]]
39
39
name = " Running with ‘critical.caa.example’ prints the correct CAA record structurewith the flag"
40
- shell = " dog --colour=always --tcp @madns.binarystar.systems:5301 CAA critical.caa.example --json | jq"
40
+ shell = " dog --colour=always ${MADNS_ARGS:- @madns.binarystar.systems:5301 --tcp} CAA critical.caa.example --json | jq"
41
41
stdout = { file = " outputs/critical.caa.example.json" }
42
42
stderr = { empty = true }
43
43
status = 0
44
44
tags = [ " caa" , " madns" , " json" ]
45
45
46
46
[[cmd ]]
47
47
name = " Running with ‘others.caa.example’ prints the correct CAA record structure and ignores the flags"
48
- shell = " dog --colour=always --tcp @madns.binarystar.systems:5301 CAA others.caa.example --json | jq"
48
+ shell = " dog --colour=always ${MADNS_ARGS:- @madns.binarystar.systems:5301 --tcp} CAA others.caa.example --json | jq"
49
49
stdout = { file = " outputs/others.caa.example.json" }
50
50
stderr = { empty = true }
51
51
status = 0
@@ -56,15 +56,15 @@ tags = [ "caa", "madns", "json" ]
56
56
57
57
[[cmd ]]
58
58
name = " Running with ‘empty.caa.invalid’ displays a protocol error"
59
- shell = " dog --colour=always --tcp @madns.binarystar.systems:5301 CAA empty.caa.invalid"
59
+ shell = " dog --colour=always ${MADNS_ARGS:- @madns.binarystar.systems:5301 --tcp} CAA empty.caa.invalid"
60
60
stdout = { empty = true }
61
61
stderr = { string = " Error [protocol]: Malformed packet: insufficient data" }
62
62
status = 1
63
63
tags = [ " caa" , " madns" ]
64
64
65
65
[[cmd ]]
66
66
name = " Running with ‘incomplete.caa.invalid’ displays a protocol error"
67
- shell = " dog --colour=always --tcp @madns.binarystar.systems:5301 CAA incomplete.caa.invalid"
67
+ shell = " dog --colour=always ${MADNS_ARGS:- @madns.binarystar.systems:5301 --tcp} CAA incomplete.caa.invalid"
68
68
stdout = { empty = true }
69
69
stderr = { string = " Error [protocol]: Malformed packet: insufficient data" }
70
70
status = 1
0 commit comments