|
@@ -2,7 +2,7 @@
|
|
|
|
|
|
[[cmd]]
|
|
|
name = "Running with ‘loc.example’ prints the correct LOC record"
|
|
|
-shell = "dog --colour=always --tcp @madns.binarystar.systems:5301 LOC loc.example"
|
|
|
+shell = "dog --colour=always ${MADNS_ARGS:-@madns.binarystar.systems:5301 --tcp} LOC loc.example"
|
|
|
stdout = { file = "outputs/loc.example.ansitxt" }
|
|
|
stderr = { empty = true }
|
|
|
status = 0
|
|
@@ -13,7 +13,7 @@ tags = [ "loc", "madns" ]
|
|
|
|
|
|
[[cmd]]
|
|
|
name = "Running with ‘loc.example’ prints the correct LOC record structure"
|
|
|
-shell = "dog --colour=always --tcp @madns.binarystar.systems:5301 LOC loc.example --json | jq"
|
|
|
+shell = "dog --colour=always ${MADNS_ARGS:-@madns.binarystar.systems:5301 --tcp} LOC loc.example --json | jq"
|
|
|
stdout = { file = "outputs/loc.example.json" }
|
|
|
stderr = { empty = true }
|
|
|
status = 0
|
|
@@ -24,7 +24,7 @@ tags = [ "loc", "madns", "json" ]
|
|
|
|
|
|
[[cmd]]
|
|
|
name = "Running with ‘far-negative-longitude.loc.invalid’ displays a record with an out-of-range field"
|
|
|
-shell = "dog --colour=always --tcp @madns.binarystar.systems:5301 LOC far-negative-longitude.loc.invalid"
|
|
|
+shell = "dog --colour=always ${MADNS_ARGS:-@madns.binarystar.systems:5301 --tcp} LOC far-negative-longitude.loc.invalid"
|
|
|
stdout = { file = "outputs/far-negative-longitude.loc.invalid.ansitxt" }
|
|
|
stderr = { empty = true }
|
|
|
status = 0
|
|
@@ -32,7 +32,7 @@ tags = [ "loc", "madns" ]
|
|
|
|
|
|
[[cmd]]
|
|
|
name = "Running with ‘far-positive-longitude.loc.invalid’ displays a record with an out-of-range field"
|
|
|
-shell = "dog --colour=always --tcp @madns.binarystar.systems:5301 LOC far-positive-longitude.loc.invalid"
|
|
|
+shell = "dog --colour=always ${MADNS_ARGS:-@madns.binarystar.systems:5301 --tcp} LOC far-positive-longitude.loc.invalid"
|
|
|
stdout = { file = "outputs/far-positive-longitude.loc.invalid.ansitxt" }
|
|
|
stderr = { empty = true }
|
|
|
status = 0
|
|
@@ -40,7 +40,7 @@ tags = [ "loc", "madns" ]
|
|
|
|
|
|
[[cmd]]
|
|
|
name = "Running with ‘far-negative-latitude.loc.invalid’ displays a record with an out-of-range field"
|
|
|
-shell = "dog --colour=always --tcp @madns.binarystar.systems:5301 LOC far-negative-latitude.loc.invalid"
|
|
|
+shell = "dog --colour=always ${MADNS_ARGS:-@madns.binarystar.systems:5301 --tcp} LOC far-negative-latitude.loc.invalid"
|
|
|
stdout = { file = "outputs/far-negative-latitude.loc.invalid.ansitxt" }
|
|
|
stderr = { empty = true }
|
|
|
status = 0
|
|
@@ -48,7 +48,7 @@ tags = [ "loc", "madns" ]
|
|
|
|
|
|
[[cmd]]
|
|
|
name = "Running with ‘far-positive-latitude.loc.invalid’ displays a record with an out-of-range field"
|
|
|
-shell = "dog --colour=always --tcp @madns.binarystar.systems:5301 LOC far-positive-latitude.loc.invalid"
|
|
|
+shell = "dog --colour=always ${MADNS_ARGS:-@madns.binarystar.systems:5301 --tcp} LOC far-positive-latitude.loc.invalid"
|
|
|
stdout = { file = "outputs/far-positive-latitude.loc.invalid.ansitxt" }
|
|
|
stderr = { empty = true }
|
|
|
status = 0
|
|
@@ -59,7 +59,7 @@ tags = [ "loc", "madns" ]
|
|
|
|
|
|
[[cmd]]
|
|
|
name = "Running with ‘far-negative-longitude.loc.invalid’ displays a record structure with an out-of-range field"
|
|
|
-shell = "dog --colour=always --tcp @madns.binarystar.systems:5301 LOC far-negative-longitude.loc.invalid --json | jq"
|
|
|
+shell = "dog --colour=always ${MADNS_ARGS:-@madns.binarystar.systems:5301 --tcp} LOC far-negative-longitude.loc.invalid --json | jq"
|
|
|
stdout = { file = "outputs/far-negative-longitude.loc.invalid.json" }
|
|
|
stderr = { empty = true }
|
|
|
status = 0
|
|
@@ -67,7 +67,7 @@ tags = [ "loc", "madns", "json" ]
|
|
|
|
|
|
[[cmd]]
|
|
|
name = "Running with ‘far-positive-longitude.loc.invalid’ displays a record structure with an out-of-range field"
|
|
|
-shell = "dog --colour=always --tcp @madns.binarystar.systems:5301 LOC far-positive-longitude.loc.invalid --json | jq"
|
|
|
+shell = "dog --colour=always ${MADNS_ARGS:-@madns.binarystar.systems:5301 --tcp} LOC far-positive-longitude.loc.invalid --json | jq"
|
|
|
stdout = { file = "outputs/far-positive-longitude.loc.invalid.json" }
|
|
|
stderr = { empty = true }
|
|
|
status = 0
|
|
@@ -75,7 +75,7 @@ tags = [ "loc", "madns", "json" ]
|
|
|
|
|
|
[[cmd]]
|
|
|
name = "Running with ‘far-negative-latitude.loc.invalid’ displays a record structure with an out-of-range field"
|
|
|
-shell = "dog --colour=always --tcp @madns.binarystar.systems:5301 LOC far-negative-latitude.loc.invalid --json | jq"
|
|
|
+shell = "dog --colour=always ${MADNS_ARGS:-@madns.binarystar.systems:5301 --tcp} LOC far-negative-latitude.loc.invalid --json | jq"
|
|
|
stdout = { file = "outputs/far-negative-latitude.loc.invalid.json" }
|
|
|
stderr = { empty = true }
|
|
|
status = 0
|
|
@@ -83,7 +83,7 @@ tags = [ "loc", "madns", "json" ]
|
|
|
|
|
|
[[cmd]]
|
|
|
name = "Running with ‘far-positive-latitude.loc.invalid’ displays a record structure with an out-of-range field"
|
|
|
-shell = "dog --colour=always --tcp @madns.binarystar.systems:5301 LOC far-positive-latitude.loc.invalid --json | jq"
|
|
|
+shell = "dog --colour=always ${MADNS_ARGS:-@madns.binarystar.systems:5301 --tcp} LOC far-positive-latitude.loc.invalid --json | jq"
|
|
|
stdout = { file = "outputs/far-positive-latitude.loc.invalid.json" }
|
|
|
stderr = { empty = true }
|
|
|
status = 0
|
|
@@ -94,7 +94,7 @@ tags = [ "loc", "madns", "json" ]
|
|
|
|
|
|
[[cmd]]
|
|
|
name = "Running with ‘v1-conform.loc.invalid’ displays a version error"
|
|
|
-shell = "dog --colour=always --tcp @madns.binarystar.systems:5301 LOC v1-conform.loc.invalid"
|
|
|
+shell = "dog --colour=always ${MADNS_ARGS:-@madns.binarystar.systems:5301 --tcp} LOC v1-conform.loc.invalid"
|
|
|
stdout = { empty = true }
|
|
|
stderr = { string = "Error [protocol]: Malformed packet: record specifies version 1, expected up to 0" }
|
|
|
status = 1
|
|
@@ -102,7 +102,7 @@ tags = [ "loc", "madns" ]
|
|
|
|
|
|
[[cmd]]
|
|
|
name = "Running with ‘v1-nonconform.loc.invalid’ displays a version error"
|
|
|
-shell = "dog --colour=always --tcp @madns.binarystar.systems:5301 LOC v1-nonconform.loc.invalid"
|
|
|
+shell = "dog --colour=always ${MADNS_ARGS:-@madns.binarystar.systems:5301 --tcp} LOC v1-nonconform.loc.invalid"
|
|
|
stdout = { empty = true }
|
|
|
stderr = { string = "Error [protocol]: Malformed packet: record specifies version 1, expected up to 0" }
|
|
|
status = 1
|
|
@@ -110,7 +110,7 @@ tags = [ "loc", "madns" ]
|
|
|
|
|
|
[[cmd]]
|
|
|
name = "Running with ‘v1-empty.loc.invalid’ displays a version error"
|
|
|
-shell = "dog --colour=always --tcp @madns.binarystar.systems:5301 LOC v1-empty.loc.invalid"
|
|
|
+shell = "dog --colour=always ${MADNS_ARGS:-@madns.binarystar.systems:5301 --tcp} LOC v1-empty.loc.invalid"
|
|
|
stdout = { empty = true }
|
|
|
stderr = { string = "Error [protocol]: Malformed packet: record specifies version 1, expected up to 0" }
|
|
|
status = 1
|
|
@@ -121,7 +121,7 @@ tags = [ "loc", "madns" ]
|
|
|
|
|
|
[[cmd]]
|
|
|
name = "Running with ‘empty.loc.invalid’ displays a record length error"
|
|
|
-shell = "dog --colour=always --tcp @madns.binarystar.systems:5301 LOC empty.loc.invalid"
|
|
|
+shell = "dog --colour=always ${MADNS_ARGS:-@madns.binarystar.systems:5301 --tcp} LOC empty.loc.invalid"
|
|
|
stdout = { empty = true }
|
|
|
stderr = { string = "Error [protocol]: Malformed packet: insufficient data" }
|
|
|
status = 1
|
|
@@ -129,7 +129,7 @@ tags = [ "loc", "madns" ]
|
|
|
|
|
|
[[cmd]]
|
|
|
name = "Running with ‘incomplete.loc.invalid’ displays a record length error"
|
|
|
-shell = "dog --colour=always --tcp @madns.binarystar.systems:5301 LOC incomplete.loc.invalid"
|
|
|
+shell = "dog --colour=always ${MADNS_ARGS:-@madns.binarystar.systems:5301 --tcp} LOC incomplete.loc.invalid"
|
|
|
stdout = { empty = true }
|
|
|
stderr = { string = "Error [protocol]: Malformed packet: insufficient data" }
|
|
|
status = 1
|