exa/xtests/details-view.toml

54 lines
1.3 KiB
TOML
Raw Normal View History

2020-10-17 19:39:44 +00:00
[[cmd]]
name = "exa -l produces a details table"
shell = "exa -l /testcases/files"
stdout = { file = "outputs/files_long.ansitxt" }
stderr = { empty = true }
status = 0
tags = [ 'long' ]
# header tests
[[cmd]]
name = "exa -lh produces a details table with a header"
shell = "exa -lh /testcases/files"
stdout = { file = "outputs/files_long_header.ansitxt" }
stderr = { empty = true }
status = 0
tags = [ 'long', 'header' ]
[[cmd]]
name = "exa -lh with an empty directory skips the header"
shell = "exa -lh /testcases/empty"
stdout = { empty = true }
stderr = { empty = true }
status = 0
tags = [ 'long', 'header' ]
# file kinds
[[cmd]]
name = "exa -l handles file kinds"
shell = "exa -l /testcases/specials"
stdout = { file = "outputs/specials_long.ansitxt" }
stderr = { empty = true }
status = 0
tags = [ 'long' ]
[[cmd]]
name = "exa -lF handles and classifies file kinds"
shell = "exa -lF /testcases/specials"
stdout = { file = "outputs/specials_long_classify.ansitxt" }
stderr = { empty = true }
status = 0
tags = [ 'long', 'classify' ]
[[cmd]]
name = "exa -lF handles and classifies symlink kinds"
shell = "exa -lF --no-time /testcases/links"
stdout = { file = "outputs/links_long_classify.ansitxt" }
stderr = { empty = true }
status = 0
tags = [ 'long', 'classify' ]