exa/xtests/features/none.toml

28 lines
742 B
TOML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# These tests are meant to be run against an exa binary compiled with
# `--no-default-features`. They will fail otherwise.
[[cmd]]
name = "The missing features are documented in the version"
shell = "exa --version"
stdout = { string = "[-git]" }
stderr = { empty = true }
status = 0
tags = [ 'features' ]
[[cmd]]
name = "The --git option is not accepted when the feature is disabled"
shell = "exa --git"
stdout = { empty = true }
stderr = { file = "outputs/disabled_git.txt" }
status = 3
tags = [ 'features' ]
[[cmd]]
name = "The --git-ignore option is not accepted when the feature is disabled"
shell = "exa --git-ignore"
stdout = { empty = true }
stderr = { file = "outputs/disabled_git.txt" }
status = 3
tags = [ 'features' ]