123456789101112131415161718192021222324252627282930313233343536 |
- # NAPTR record successes
- [[cmd]]
- name = "Running with ‘naptr.example’ prints the correct NAPTR record"
- shell = "dog --colour=always --tcp @madns.binarystar.systems:5301 NAPTR naptr.example"
- stdout = { file = "outputs/naptr.example.ansitxt" }
- stderr = { empty = true }
- status = 0
- tags = [ "naptr", "madns" ]
- [[cmd]]
- name = "Running with ‘bad-regex.naptr.example’ still prints the correct NAPTR record"
- shell = "dog --colour=always --tcp @madns.binarystar.systems:5301 NAPTR bad-regex.naptr.example"
- stdout = { file = "outputs/bad-regex.naptr.example.ansitxt" }
- stderr = { empty = true }
- status = 0
- tags = [ "naptr", "madns" ]
- # NAPTR record invalid packets
- [[cmd]]
- name = "Running with ‘empty.naptr.invalid’ displays a protocol error"
- shell = "dog --colour=always --tcp @madns.binarystar.systems:5301 NAPTR empty.naptr.invalid"
- stdout = { empty = true }
- stderr = { string = "Error [protocol]: Malformed packet: insufficient data" }
- status = 1
- tags = [ "naptr", "madns" ]
- [[cmd]]
- name = "Running with ‘incomplete.naptr.invalid’ displays a protocol error"
- shell = "dog --colour=always --tcp @madns.binarystar.systems:5301 NAPTR incomplete.naptr.invalid"
- stdout = { empty = true }
- stderr = { string = "Error [protocol]: Malformed packet: insufficient data" }
- status = 1
- tags = [ "naptr", "madns" ]
|