Further tests for printing out directory names

., .., and / always seem to cause problems.
This commit is contained in:
Benjamin Sago 2017-04-29 11:52:44 +01:00
parent 956aa85b3b
commit 0c69eeca07
2 changed files with 4 additions and 0 deletions

3
xtests/dirs Normal file
View File

@ -0,0 +1,3 @@
.
..
/

View File

@ -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 users home directory (the default
# location) when a Cargo build is done.
(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