Fix integration test suite

• Fix script problem with shell operator precedence with Git repo symlinks
• Fix test failure with --long --help
This commit is contained in:
Benjamin Sago 2020-01-19 00:49:23 +00:00
parent 64bd1b9a55
commit efad1c9e4e
2 changed files with 5 additions and 1 deletions

View File

@ -14,5 +14,9 @@ LONG VIEW OPTIONS
-u, --accessed use the accessed timestamp field
-U, --created use the created timestamp field
--time-style how to format timestamps (default, iso, long-iso, full-iso)
--no-permissions suppress the permissions field
--no-filesize suppress the filesize field
--no-user suppress the user field
--no-time suppress the time field
--git list each file's Git status, if tracked or ignored
-@, --extended list each file's extended attributes and sizes

View File

@ -211,7 +211,7 @@ $exa $testcases/git2/deeply/nested/repository -l --git 2>&1 | diff -q - $results
$exa $testcases/git2/{deeply,ignoreds,target} -l --git 2>&1 | diff -q - $results/git_2_all || exit 1
# Regressions test
$exa $testcases/git3 -l --git &>/dev/null || echo "Failed to display broken symlink in git repository"; exit 1
$exa $testcases/git3 -l --git &>/dev/null || exit 1
COLUMNS=150 $exa $testcases/git/**/* $testcases --git --long --grid -d | diff -q - $results/git_1_files || exit 1