mirror of
https://github.com/Llewellynvdm/exa.git
synced 2025-01-11 16:34:26 +00:00
Tests for the directory path fix
This commit is contained in:
parent
e671217d60
commit
3d97dffc24
3
xtests/dir_paths
Normal file
3
xtests/dir_paths
Normal file
@ -0,0 +1,3 @@
|
||||
[1;34mtarget[0m
|
||||
[36mtarget/[1;34mdebug[0m
|
||||
[36mtarget/debug/[1;34mbuild[0m
|
@ -66,6 +66,12 @@ $exa $testcases/file-names-exts/music.* -I "*.ogg" -1 2>&1 | diff -q - $re
|
||||
$exa $testcases/file-names-exts/music.* -I "*.ogg|*.mp3" -1 2>&1 | diff -q - $results/empty || exit 1
|
||||
|
||||
|
||||
# Paths and directories
|
||||
# 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
|
||||
|
||||
|
||||
# Links
|
||||
COLUMNS=80 $exa $testcases/links 2>&1 | diff -q - $results/links || exit 1
|
||||
$exa $testcases/links -1 2>&1 | diff -q - $results/links_1 || exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user