4
0

protocol-chars.toml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. # Character escaping
  2. [[cmd]]
  3. name = "Running with ‘ansi.str.example’ properly escapes the codes"
  4. shell = "dog --colour=always ${MADNS_ARGS:[email protected]:5301 --tcp} CNAME ansi.str.example"
  5. stdout = { file = "outputs/ansi.str.example.ansitxt" }
  6. stderr = { empty = true }
  7. status = 0
  8. tags = [ "protocol", "madns" ]
  9. [[cmd]]
  10. name = "Running with ‘newline.str.example’ properly escapes the newlines"
  11. shell = "dog --colour=always ${MADNS_ARGS:[email protected]:5301 --tcp} CNAME newline.str.example"
  12. stdout = { file = "outputs/newline.str.example.ansitxt" }
  13. stderr = { empty = true }
  14. status = 0
  15. tags = [ "protocol", "madns" ]
  16. [[cmd]]
  17. name = "Running with ‘null.str.example’ properly handles the null bytes"
  18. shell = "dog --colour=always ${MADNS_ARGS:[email protected]:5301 --tcp} CNAME null.str.example"
  19. stdout = { file = "outputs/null.str.example.ansitxt" }
  20. stderr = { empty = true }
  21. status = 0
  22. tags = [ "protocol", "madns" ]
  23. [[cmd]]
  24. name = "Running with ‘tab.str.example’ properly escapes the tabs"
  25. shell = "dog --colour=always ${MADNS_ARGS:[email protected]:5301 --tcp} CNAME tab.str.example"
  26. stdout = { file = "outputs/tab.str.example.ansitxt" }
  27. stderr = { empty = true }
  28. status = 0
  29. tags = [ "protocol", "madns" ]
  30. [[cmd]]
  31. name = "Running with ‘upperbit.str.example’ properly escapes the upper-bit characters"
  32. shell = "dog --colour=always ${MADNS_ARGS:[email protected]:5301 --tcp} CNAME upperbit.str.example"
  33. stdout = { file = "outputs/upperbit.str.example.ansitxt" }
  34. stderr = { empty = true }
  35. status = 0
  36. tags = [ "protocol", "madns" ]
  37. # Character escaping (JSON)
  38. [[cmd]]
  39. name = "Running with ‘ansi.str.example --json’ properly escapes the codes in the JSON string"
  40. shell = "dog --colour=always ${MADNS_ARGS:[email protected]:5301 --tcp} CNAME ansi.str.example --json | jq"
  41. stdout = { file = "outputs/ansi.str.example.json" }
  42. stderr = { empty = true }
  43. status = 0
  44. tags = [ "protocol", "madns", "json" ]
  45. [[cmd]]
  46. name = "Running with ‘newline.str.example --json’ properly escapes the newlines in the JSON string"
  47. shell = "dog --colour=always ${MADNS_ARGS:[email protected]:5301 --tcp} CNAME newline.str.example --json | jq"
  48. stdout = { file = "outputs/newline.str.example.json" }
  49. stderr = { empty = true }
  50. status = 0
  51. tags = [ "protocol", "madns", "json" ]
  52. [[cmd]]
  53. name = "Running with ‘null.str.example --json’ properly handles the null bytes in the JSON string"
  54. shell = "dog --colour=always ${MADNS_ARGS:[email protected]:5301 --tcp} CNAME null.str.example --json | jq"
  55. stdout = { file = "outputs/null.str.example.json" }
  56. stderr = { empty = true }
  57. status = 0
  58. tags = [ "protocol", "madns", "json" ]
  59. [[cmd]]
  60. name = "Running with ‘tab.str.example --json’ properly escapes the tabs in the JSON string"
  61. shell = "dog --colour=always ${MADNS_ARGS:[email protected]:5301 --tcp} CNAME tab.str.example --json | jq"
  62. stdout = { file = "outputs/tab.str.example.json" }
  63. stderr = { empty = true }
  64. status = 0
  65. tags = [ "protocol", "madns", "json" ]
  66. [[cmd]]
  67. name = "Running with ‘upperbit.str.example --json’ properly escapes the upper-bit characters in the JSON string"
  68. shell = "dog --colour=always ${MADNS_ARGS:[email protected]:5301 --tcp} CNAME upperbit.str.example --json | jq"
  69. stdout = { file = "outputs/upperbit.str.example.json" }
  70. stderr = { empty = true }
  71. status = 0
  72. tags = [ "protocol", "madns", "json" ]