From 0c69eeca0799c768cac52e69f6237c2e4d1a735e Mon Sep 17 00:00:00 2001 From: Benjamin Sago Date: Sat, 29 Apr 2017 11:52:44 +0100 Subject: [PATCH] Further tests for printing out directory names ., .., and / always seem to cause problems. --- xtests/dirs | 3 +++ xtests/run.sh | 1 + 2 files changed, 4 insertions(+) create mode 100644 xtests/dirs diff --git a/xtests/dirs b/xtests/dirs new file mode 100644 index 0000000..9cb4b6e --- /dev/null +++ b/xtests/dirs @@ -0,0 +1,3 @@ +. +.. +/ diff --git a/xtests/run.sh b/xtests/run.sh index 9d2e518..33af7b3 100755 --- a/xtests/run.sh +++ b/xtests/run.sh @@ -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 -- GitLab