txt-records.toml 961 B

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