soa-records.toml 961 B

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