errors.toml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. [[cmd]]
  2. name = "Running dog with ‘--wibble’ warns about the invalid argument"
  3. shell = "dog --wibble"
  4. stdout = { empty = true }
  5. stderr = { file = "outputs/invalid-argument.txt" }
  6. status = 3
  7. tags = [ 'options' ]
  8. [[cmd]]
  9. name = "Running dog with ‘--class’ warns about the missing argument parameter"
  10. shell = "dog --class"
  11. stdout = { empty = true }
  12. stderr = { file = "outputs/missing-parameter.txt" }
  13. status = 3
  14. tags = [ 'options' ]
  15. [[cmd]]
  16. name = "Running dog with ‘--type XYZZY’ warns about the invalid record type"
  17. shell = "dog --type XYZZY dns.google"
  18. stdout = { empty = true }
  19. stderr = { file = "outputs/invalid-query-type.txt" }
  20. status = 3
  21. tags = [ 'options' ]
  22. [[cmd]]
  23. name = "Running dog with ‘--class XYZZY’ warns about the invalid class"
  24. shell = "dog --class XYZZY dns.google"
  25. stdout = { empty = true }
  26. stderr = { file = "outputs/invalid-query-class.txt" }
  27. status = 3
  28. tags = [ 'options' ]
  29. [[cmd]]
  30. name = "Running dog with ‘-Z aoeu’ warns about the invalid protocol tweak"
  31. shell = "dog -Z aoeu dns.google"
  32. stdout = { empty = true }
  33. stderr = { file = "outputs/invalid-protocol-tweak.txt" }
  34. status = 3
  35. tags = [ 'options' ]
  36. [[cmd]]
  37. name = "Running dog with ‘OPT’ warns that OPT requests are sent by default"
  38. shell = "dog OPT dns.google"
  39. stdout = { empty = true }
  40. stderr = { file = "outputs/opt-query.txt" }
  41. status = 3
  42. tags = [ 'options' ]
  43. [[cmd]]
  44. name = "Running dog with ‘opt’ also warns that OPT requests are sent by default"
  45. shell = "dog opt dns.google"
  46. stdout = { empty = true }
  47. stderr = { file = "outputs/opt-query.txt" }
  48. status = 3
  49. tags = [ 'options' ]
  50. [[cmd]]
  51. name = "Running dog with ‘--type OPT’ warns that OPT requests are sent by default"
  52. shell = "dog --type OPT dns.google"
  53. stdout = { empty = true }
  54. stderr = { file = "outputs/opt-query.txt" }
  55. status = 3
  56. tags = [ 'options' ]
  57. [[cmd]]
  58. name = "Running dog with ‘--type opt’ also warns that OPT requests are sent by default"
  59. shell = "dog --type opt dns.google"
  60. stdout = { empty = true }
  61. stderr = { file = "outputs/opt-query.txt" }
  62. status = 3
  63. tags = [ 'options' ]
  64. [[cmd]]
  65. name = "Running dog with a domain longer than 255 bytes warns about it being too long"
  66. shell = "dog 12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890"
  67. stdout = { empty = true }
  68. stderr = { file = "outputs/huge-domain.txt" }
  69. status = 3
  70. tags = [ 'options' ]
  71. [[cmd]]
  72. name = "Running dog with ‘--https’ and no nameserver warns that one is missing"
  73. shell = "dog --https dns.google"
  74. stdout = { empty = true }
  75. stderr = { file = "outputs/missing-nameserver.txt" }
  76. status = 3
  77. tags = [ 'options' ]