mirror of
https://github.com/Llewellynvdm/exa.git
synced 2025-01-26 07:08:26 +00:00
Add tests for device IDs in file size column
This commit is contained in:
parent
6403336028
commit
f6e66d982d
@ -61,3 +61,14 @@ 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
|
||||
|
7
xtests/outputs/dev_long.ansitxt
Normal file
7
xtests/outputs/dev_long.ansitxt
Normal file
@ -0,0 +1,7 @@
|
||||
[1;33mcr[31mw[0m[38;5;244m-[33mr[38;5;244m-----[0m [1;32m1[0m[38;5;244m,[32m1[0m root [34m 9 Apr 19:35[0m [1;33mmem[0m
|
||||
[1;33mcr[31mw[0m[38;5;244m-[33mr[31mw[38;5;244m-[33mr[31mw[38;5;244m-[0m [1;32m1[0m[38;5;244m,[32m3[0m root [34m 9 Apr 19:35[0m [1;33mnull[0m
|
||||
[1;33mcr[31mw[0m[38;5;244m-[33mr[38;5;244m-----[0m [1;32m1[0m[38;5;244m,[32m4[0m root [34m 9 Apr 19:35[0m [1;33mport[0m
|
||||
[1;33mcr[31mw[0m[38;5;244m-[33mr[31mw[38;5;244m-[33mr[31mw[38;5;244m-[0m [1;32m1[0m[38;5;244m,[32m5[0m root [34m 9 Apr 19:35[0m [1;33mzero[0m
|
||||
[1;33mcr[31mw[0m[38;5;244m-[33mr[31mw[38;5;244m-[33mr[31mw[38;5;244m-[0m [1;32m1[0m[38;5;244m,[32m7[0m root [34m 9 Apr 19:35[0m [1;33mfull[0m
|
||||
[1;33mcr[31mw[0m[38;5;244m-[33mr[31mw[38;5;244m-[33mr[31mw[38;5;244m-[0m [1;32m1[0m[38;5;244m,[32m8[0m root [34m 9 Apr 19:35[0m [1;33mrandom[0m
|
||||
[1;33mcr[31mw[0m[38;5;244m-[33mr[31mw[38;5;244m-[33mr[31mw[38;5;244m-[0m [1;32m1[0m[38;5;244m,[32m9[0m root [34m 9 Apr 19:35[0m [1;33murandom[0m
|
Loading…
x
Reference in New Issue
Block a user