Преглед изворни кода

Fix integration test by making it time-independent

Ben S пре 9 година
родитељ
комит
bd2a76b447
2 измењених фајлова са 3 додато и 3 уклоњено
  1. 2 2
      xtests/proc_1_root
  2. 1 1
      xtests/run.sh

+ 2 - 2
xtests/proc_1_root

@@ -1,2 +1,2 @@
-lrwxrwxrwx 0 root 29 Oct 17:23 /proc/1/root
-                               └── <Permission denied (os error 13)>
+/proc/1/root
+└── <Permission denied (os error 13)>

+ 1 - 1
xtests/run.sh

@@ -52,7 +52,7 @@ $exa $testcases/links -T 2>&1 | diff -q - $results/links_T  || exit 1
 
 COLUMNS=80 $exa $testcases/links 2>&1 | diff -q - $results/links  || exit 1
 
-$exa /proc/1/root -l 2>&1 | diff - $results/proc_1_root  || exit 1
+$exa /proc/1/root -T 2>&1 | diff -q - $results/proc_1_root  || exit 1
 
 
 echo "All the tests passed!"