12345678910111213141516171819202122232425262728293031323334 |
- [[cmd]]
- name = "Running dog with ‘--wibble’ warns about the invalid argument"
- shell = "dog --wibble"
- stdout = { empty = true }
- stderr = { string = "wibble" }
- status = 3
- [[cmd]]
- name = "Running dog with ‘XYZZY’ warns about the invalid record type"
- shell = "dog XYZZY dns.google"
- stdout = { empty = true }
- stderr = { string = "XYZZY" }
- status = 3
- [[cmd]]
- name = "Running dog with ‘OPT’ warns that OPT requests are sent by default"
- shell = "dog OPT dns.google"
- stdout = { empty = true }
- stderr = { string = "OPT request is sent by default" }
- status = 3
- [[cmd]]
- name = "Running dog with a domain longer than 255 bytes warns about it being too long"
- shell = "dog 12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890"
- stdout = { empty = true }
- stderr = { string = "12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890" }
- status = 3
- [[cmd]]
- name = "Running dog with ‘--https’ and no nameserver warns that one is missing"
- shell = "dog --https dns.google"
- stdout = { empty = true }
- stderr = { string = "You must pass a URL as a nameserver when using --https" }
- status = 3
|