1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- # CAA record successes
- [[cmd]]
- name = "Running with ‘caa.example’ prints the correct CAA record"
- shell = "dog --colour=always --tcp @madns.binarystar.systems:5301 CAA caa.example"
- stdout = { file = "outputs/caa.example.ansitxt" }
- stderr = { empty = true }
- status = 0
- tags = [ "caa", "madns" ]
- [[cmd]]
- name = "Running with ‘critical.caa.example’ prints the correct CAA record with the flag"
- shell = "dog --colour=always --tcp @madns.binarystar.systems:5301 CAA critical.caa.example"
- stdout = { file = "outputs/critical.caa.example.ansitxt" }
- stderr = { empty = true }
- status = 0
- tags = [ "caa", "madns" ]
- [[cmd]]
- name = "Running with ‘others.caa.example’ prints the correct CAA record and ignores the flags"
- shell = "dog --colour=always --tcp @madns.binarystar.systems:5301 CAA others.caa.example"
- stdout = { file = "outputs/others.caa.example.ansitxt" }
- stderr = { empty = true }
- status = 0
- tags = [ "caa", "madns" ]
- # CAA record invalid packets
- [[cmd]]
- name = "Running with ‘empty.caa.invalid’ displays a protocol error"
- shell = "dog --colour=always --tcp @madns.binarystar.systems:5301 CAA empty.caa.invalid"
- stdout = { empty = true }
- stderr = { string = "Error [protocol]: Malformed packet: insufficient data" }
- status = 1
- tags = [ "caa", "madns" ]
- [[cmd]]
- name = "Running with ‘incomplete.caa.invalid’ displays a protocol error"
- shell = "dog --colour=always --tcp @madns.binarystar.systems:5301 CAA incomplete.caa.invalid"
- stdout = { empty = true }
- stderr = { string = "Error [protocol]: Malformed packet: insufficient data" }
- status = 1
- tags = [ "caa", "madns" ]
|