Browse Source

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.
Benjamin Sago 4 years ago
parent
commit
d19d66d57a
2 changed files with 8 additions and 8 deletions
  1. 1 1
      xtests/details-view-filesizes.toml
  2. 7 7
      xtests/outputs/dev_long.ansitxt

+ 1 - 1
xtests/details-view-filesizes.toml

@@ -64,7 +64,7 @@ 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"
+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

+ 7 - 7
xtests/outputs/dev_long.ansitxt

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