Skip to content

Commit

Permalink
Further tests for printing out directory names
Browse files Browse the repository at this point in the history
., .., and / always seem to cause problems.
  • Loading branch information
ogham committed Apr 29, 2017
1 parent 956aa85 commit 0c69eec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions xtests/dirs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.
..
/
1 change: 1 addition & 0 deletions xtests/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
# 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
Expand Down

0 comments on commit 0c69eec

Please sign in to comment.