exa/xtests/lines-view.toml

37 lines
940 B
TOML
Raw Normal View History

2020-10-17 19:39:44 +00:00
# file name tests
[[cmd]]
name = "exa -1 displays file names, one on each line"
shell = "exa -1 /testcases/file-names"
stdout = { file = "outputs/names_lines.ansitxt" }
stderr = { empty = true }
status = 0
tags = [ 'oneline' ]
[[cmd]]
name = "exa -1d displays, ., .., and / correctly"
shell = "exa -1d . .. /"
stdout = { file = "outputs/dirs_oneline.ansitxt" }
stderr = { empty = true }
status = 0
tags = [ 'oneline', 'list-dirs' ]
# symlinks tests
[[cmd]]
name = "exa -1 lists the destination of symlinks"
shell = "exa -1 /testcases/links"
stdout = { file = "outputs/links_lines.ansitxt" }
stderr = { empty = true }
status = 0
tags = [ 'oneline' ]
[[cmd]]
name = "exa -1d with file arguments lists the destination of symlinks"
shell = "exa -1d /testcases/links/*"
stdout = { file = "outputs/links_paths_lines.ansitxt" }
stderr = { empty = true }
status = 0
tags = [ 'oneline', 'list-dirs' ]