123456789101112131415161718192021222324252627282930313233343536373839 |
- [[cmd]]
- name = "Running with ‘hinfo.example’ prints the correct HINFO record"
- shell = "dog --colour=always ${MADNS_ARGS:-@madns.binarystar.systems:5301 --tcp} HINFO hinfo.example"
- stdout = { file = "outputs/hinfo.example.ansitxt" }
- stderr = { empty = true }
- status = 0
- tags = [ "hinfo", "madns" ]
- [[cmd]]
- name = "Running with ‘hinfo.example --json’ prints the correct HINFO record structure"
- shell = "dog --colour=always ${MADNS_ARGS:-@madns.binarystar.systems:5301 --tcp} HINFO hinfo.example --json | jq"
- stdout = { file = "outputs/hinfo.example.json" }
- stderr = { empty = true }
- status = 0
- tags = [ "hinfo", "madns", "json" ]
- [[cmd]]
- name = "Running with ‘empty.hinfo.invalid’ displays a protocol error"
- shell = "dog --colour=always ${MADNS_ARGS:-@madns.binarystar.systems:5301 --tcp} HINFO empty.hinfo.invalid"
- stdout = { empty = true }
- stderr = { string = "Error [protocol]: Malformed packet: insufficient data" }
- status = 1
- tags = [ "hinfo", "madns" ]
- [[cmd]]
- name = "Running with ‘incomplete.hinfo.invalid’ displays a protocol error"
- shell = "dog --colour=always ${MADNS_ARGS:-@madns.binarystar.systems:5301 --tcp} HINFO incomplete.hinfo.invalid"
- stdout = { empty = true }
- stderr = { string = "Error [protocol]: Malformed packet: insufficient data" }
- status = 1
- tags = [ "hinfo", "madns" ]
|