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.
This commit is contained in:
Benjamin Sago 2021-04-11 23:34:14 +01:00
parent 051a46c643
commit d19d66d57a
2 changed files with 8 additions and 8 deletions

View File

@ -64,7 +64,7 @@ tags = [ 'long', 'colour-scale', 'bytes' ]
[[cmd]] [[cmd]]
name = "exa -l produces a details table with major and minor device IDs" 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" shell = "cd /dev; exa -l mem null port zero full random urandom --sort=none --no-time"
stdout = { file = "outputs/dev_long.ansitxt" } stdout = { file = "outputs/dev_long.ansitxt" }
stderr = { empty = true } stderr = { empty = true }
status = 0 status = 0

View File

@ -1,7 +1,7 @@
crw-r----- 1,1 root  9 Apr 19:35 mem crw-r----- 1,1 root mem
crw-rw-rw- 1,3 root  9 Apr 19:35 null crw-rw-rw- 1,3 root null
crw-r----- 1,4 root  9 Apr 19:35 port crw-r----- 1,4 root port
crw-rw-rw- 1,5 root  9 Apr 19:35 zero crw-rw-rw- 1,5 root zero
crw-rw-rw- 1,7 root  9 Apr 19:35 full crw-rw-rw- 1,7 root full
crw-rw-rw- 1,8 root  9 Apr 19:35 random crw-rw-rw- 1,8 root random
crw-rw-rw- 1,9 root  9 Apr 19:35 urandom crw-rw-rw- 1,9 root urandom