123456789101112131415161718192021222324252627 |
- # These tests are meant to be run against a dog binary compiled with
- # `--no-default-features`. They will fail otherwise.
- [[cmd]]
- name = "The missing features are documented in the version"
- shell = "dog --version"
- stdout = { string = "[-idna, -tls, -https]" }
- stderr = { empty = true }
- status = 0
- tags = [ 'features' ]
- [[cmd]]
- name = "The ‘--tls’ option is not accepted when the feature is disabled"
- shell = "dog --tls a.b.c.d"
- stdout = { empty = true }
- stderr = { file = "outputs/disabled_tls.txt" }
- status = 3
- tags = [ 'features' ]
- [[cmd]]
- name = "The ‘--https option is not accepted when the feature is disabled"
- shell = "dog --https a.b.c.d @name.server"
- stdout = { empty = true }
- stderr = { file = "outputs/disabled_https.txt" }
- status = 3
- tags = [ 'features' ]
|