|
@@ -44,7 +44,7 @@ tags = [ "protocol", "madns" ]
|
|
|
# Character escaping (JSON)
|
|
|
|
|
|
[[cmd]]
|
|
|
-name = "Running with ‘ansi.str.example’ properly escapes the codes in the JSON string"
|
|
|
+name = "Running with ‘ansi.str.example --json’ properly escapes the codes in the JSON string"
|
|
|
shell = "dog --colour=always ${MADNS_ARGS:-@madns.binarystar.systems:5301 --tcp} CNAME ansi.str.example --json | jq"
|
|
|
stdout = { file = "outputs/ansi.str.example.json" }
|
|
|
stderr = { empty = true }
|
|
@@ -52,7 +52,7 @@ status = 0
|
|
|
tags = [ "protocol", "madns", "json" ]
|
|
|
|
|
|
[[cmd]]
|
|
|
-name = "Running with ‘newline.str.example’ properly escapes the newlines in the JSON string"
|
|
|
+name = "Running with ‘newline.str.example --json’ properly escapes the newlines in the JSON string"
|
|
|
shell = "dog --colour=always ${MADNS_ARGS:-@madns.binarystar.systems:5301 --tcp} CNAME newline.str.example --json | jq"
|
|
|
stdout = { file = "outputs/newline.str.example.json" }
|
|
|
stderr = { empty = true }
|
|
@@ -60,7 +60,7 @@ status = 0
|
|
|
tags = [ "protocol", "madns", "json" ]
|
|
|
|
|
|
[[cmd]]
|
|
|
-name = "Running with ‘null.str.example’ properly handles the null bytes in the JSON string"
|
|
|
+name = "Running with ‘null.str.example --json’ properly handles the null bytes in the JSON string"
|
|
|
shell = "dog --colour=always ${MADNS_ARGS:-@madns.binarystar.systems:5301 --tcp} CNAME null.str.example --json | jq"
|
|
|
stdout = { file = "outputs/null.str.example.json" }
|
|
|
stderr = { empty = true }
|
|
@@ -68,7 +68,7 @@ status = 0
|
|
|
tags = [ "protocol", "madns", "json" ]
|
|
|
|
|
|
[[cmd]]
|
|
|
-name = "Running with ‘tab.str.example’ properly escapes the tabs in the JSON string"
|
|
|
+name = "Running with ‘tab.str.example --json’ properly escapes the tabs in the JSON string"
|
|
|
shell = "dog --colour=always ${MADNS_ARGS:-@madns.binarystar.systems:5301 --tcp} CNAME tab.str.example --json | jq"
|
|
|
stdout = { file = "outputs/tab.str.example.json" }
|
|
|
stderr = { empty = true }
|
|
@@ -76,7 +76,7 @@ status = 0
|
|
|
tags = [ "protocol", "madns", "json" ]
|
|
|
|
|
|
[[cmd]]
|
|
|
-name = "Running with ‘upperbit.str.example’ properly escapes the upper-bit characters in the JSON string"
|
|
|
+name = "Running with ‘upperbit.str.example --json’ properly escapes the upper-bit characters in the JSON string"
|
|
|
shell = "dog --colour=always ${MADNS_ARGS:-@madns.binarystar.systems:5301 --tcp} CNAME upperbit.str.example --json | jq"
|
|
|
stdout = { file = "outputs/upperbit.str.example.json" }
|
|
|
stderr = { empty = true }
|