mirror of
https://github.com/Llewellynvdm/exa.git
synced 2024-11-22 20:15:11 +00:00
Further tests for printing out directory names
., .., and / always seem to cause problems.
This commit is contained in:
parent
956aa85b3b
commit
0c69eeca07
3
xtests/dirs
Normal file
3
xtests/dirs
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
[1;34m.[0m
|
||||||
|
[1;34m..[0m
|
||||||
|
[1;34m/[0m
|
@ -70,6 +70,7 @@ $exa $testcases/file-names-exts/music.* -I "*.ogg|*.mp3" -1 2>&1 | diff -q - $re
|
|||||||
# These directories are created in the VM user’s home directory (the default
|
# These directories are created in the VM user’s home directory (the default
|
||||||
# location) when a Cargo build is done.
|
# location) when a Cargo build is done.
|
||||||
(cd; $exa -1d target target/debug target/debug/build | diff -q - $results/dir_paths) || exit 1
|
(cd; $exa -1d target target/debug target/debug/build | diff -q - $results/dir_paths) || exit 1
|
||||||
|
$exa -1d . .. / | diff -q - $results/dirs || exit 1
|
||||||
|
|
||||||
|
|
||||||
# Links
|
# Links
|
||||||
|
Loading…
Reference in New Issue
Block a user