exa/xtests/details-view-filesizes.toml

75 lines
2.6 KiB
TOML
Raw Normal View History

2020-10-17 19:39:44 +00:00
[[cmd]]
name = "exa -lb produces a details table with binary file sizes"
shell = "exa -lb /testcases/files"
stdout = { file = "outputs/files_long_binary.ansitxt" }
stderr = { empty = true }
status = 0
tags = [ 'long', 'binary' ]
[[cmd]]
name = "exa -lB produces a details table with bytes file sizes"
shell = "exa -lB /testcases/files"
stdout = { file = "outputs/files_long_bytes.ansitxt" }
stderr = { empty = true }
status = 0
tags = [ 'long', 'bytes' ]
[[cmd]]
name = "exa -lhb produces a details table with a header and binary file sizes"
shell = "exa -lhb /testcases/files"
stdout = { file = "outputs/files_long_header_binary.ansitxt" }
stderr = { empty = true }
status = 0
tags = [ 'long', 'header', 'binary' ]
[[cmd]]
name = "exa -lhB produces a details table with a header and bytes file sizes"
shell = "exa -lhB /testcases/files"
stdout = { file = "outputs/files_long_header_bytes.ansitxt" }
stderr = { empty = true }
status = 0
tags = [ 'long', 'header', 'bytes' ]
[[cmd]]
name = "exa -l --color-scale (US spelling) produces a details table using a file size colour scale"
shell = "exa -l --color-scale /testcases/files"
stdout = { file = "outputs/files_long_colourscale.ansitxt" }
stderr = { empty = true }
status = 0
tags = [ 'long', 'colour-scale' ]
[[cmd]]
name = "exa -l --colour-scale (UK spelling) produces a details table using a file size colour scale"
shell = "exa -l --colour-scale /testcases/files"
stdout = { file = "outputs/files_long_colourscale.ansitxt" }
stderr = { empty = true }
status = 0
tags = [ 'long', 'colour-scale' ]
[[cmd]]
name = "exa -l --colour-scale --binary produces a details table using a file size colour scale and binary sizes"
shell = "exa -l --colour-scale --binary /testcases/files"
stdout = { file = "outputs/files_long_colourscale_binary.ansitxt" }
stderr = { empty = true }
status = 0
tags = [ 'long', 'colour-scale', 'binary' ]
[[cmd]]
name = "exa -l --colour-scale --bytes produces a details table using a file size colour scale and byte sizes"
shell = "exa -l --colour-scale --bytes /testcases/files"
stdout = { file = "outputs/files_long_colourscale_bytes.ansitxt" }
stderr = { empty = true }
status = 0
tags = [ 'long', 'colour-scale', 'bytes' ]
[[cmd]]
name = "exa -l produces a details table with major and minor device IDs"
shell = "cd /dev; exa -l mem null port zero full random urandom --sort=none"
stdout = { file = "outputs/dev_long.ansitxt" }
stderr = { empty = true }
status = 0
tags = [ 'long', 'dev' ]
# these particular device IDs should be fixed:
# https://raw.githubusercontent.com/torvalds/linux/master/Documentation/admin-guide/devices.txt