cname-records.toml 993 B

12345678910111213141516171819202122232425262728
  1. # CNAME record successes
  2. [[cmd]]
  3. name = "Running with ‘cname.example’ prints the correct CNAME record"
  4. shell = "dog --colour=always --tcp @madns.binarystar.systems:5301 CNAME cname.example"
  5. stdout = { file = "outputs/cname.example.ansitxt" }
  6. stderr = { empty = true }
  7. status = 0
  8. tags = [ "cname", "madns" ]
  9. # CNAME record invalid packets
  10. [[cmd]]
  11. name = "Running with ‘empty.cname.invalid’ displays a protocol error"
  12. shell = "dog --colour=always --tcp @madns.binarystar.systems:5301 CNAME empty.cname.invalid"
  13. stdout = { empty = true }
  14. stderr = { string = "Error [protocol]: Malformed packet: insufficient data" }
  15. status = 1
  16. tags = [ "cname", "madns" ]
  17. [[cmd]]
  18. name = "Running with ‘incomplete.cname.invalid’ displays a protocol error"
  19. shell = "dog --colour=always --tcp @madns.binarystar.systems:5301 CNAME incomplete.cname.invalid"
  20. stdout = { empty = true }
  21. stderr = { string = "Error [protocol]: Malformed packet: insufficient data" }
  22. status = 1
  23. tags = [ "cname", "madns" ]