123456789101112131415161718192021222324252627282930313233343536373839 |
- # SOA record successes
- [[cmd]]
- name = "Running with ‘soa.example’ prints the correct SOA record"
- shell = "dog --colour=always ${MADNS_ARGS:[email protected]:5301 --tcp} SOA soa.example"
- stdout = { file = "outputs/soa.example.ansitxt" }
- stderr = { empty = true }
- status = 0
- tags = [ "soa", "madns" ]
- # SOA record successes (JSON)
- [[cmd]]
- name = "Running with ‘soa.example --json’ prints the correct SOA record structure"
- shell = "dog --colour=always ${MADNS_ARGS:[email protected]:5301 --tcp} SOA soa.example --json | jq"
- stdout = { file = "outputs/soa.example.json" }
- stderr = { empty = true }
- status = 0
- tags = [ "soa", "madns", "json" ]
- # SOA record invalid packets
- [[cmd]]
- name = "Running with ‘empty.soa.invalid’ displays a protocol error"
- shell = "dog --colour=always ${MADNS_ARGS:[email protected]:5301 --tcp} SOA empty.soa.invalid"
- stdout = { empty = true }
- stderr = { string = "Error [protocol]: Malformed packet: insufficient data" }
- status = 1
- tags = [ "soa", "madns" ]
- [[cmd]]
- name = "Running with ‘incomplete.soa.invalid’ displays a protocol error"
- shell = "dog --colour=always ${MADNS_ARGS:[email protected]:5301 --tcp} SOA incomplete.soa.invalid"
- stdout = { empty = true }
- stderr = { string = "Error [protocol]: Malformed packet: insufficient data" }
- status = 1
- tags = [ "soa", "madns" ]
|