4
0

errors.toml 1.3 KB

12345678910111213141516171819202122232425262728
  1. [[cmd]]
  2. name = "Running dog with ‘--wibble’ warns about the invalid argument"
  3. shell = "dog --wibble"
  4. stdout = { empty = true }
  5. stderr = { string = "wibble" }
  6. status = 3
  7. [[cmd]]
  8. name = "Running dog with ‘XYZZY’ warns about the invalid record type"
  9. shell = "dog XYZZY dns.google"
  10. stdout = { empty = true }
  11. stderr = { string = "XYZZY" }
  12. status = 3
  13. [[cmd]]
  14. name = "Running dog with ‘OPT’ warns that OPT requests are sent by default"
  15. shell = "dog OPT dns.google"
  16. stdout = { empty = true }
  17. stderr = { string = "OPT request is sent by default" }
  18. status = 3
  19. [[cmd]]
  20. name = "Running dog with a domain longer than 255 bytes warns about it being too long"
  21. name = "A domain label long than 255 bytes gets rejected"
  22. shell = "dog 12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890"
  23. stdout = { empty = true }
  24. stderr = { string = "12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890" }
  25. status = 3