exa/xtests/details-view-filesizes.toml
Benjamin Sago d19d66d57a Fix device IDs test so it works every time
It inadvertently contained the machine build time, which meant it stopped working once the Vagrant machine was rebuild.
2021-04-11 23:34:14 +01:00

75 lines
2.6 KiB
TOML
Raw 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.

[[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 --no-time"
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