Skip to content

Commit efad1c9

Browse files
committed
Fix integration test suite
• Fix script problem with shell operator precedence with Git repo symlinks • Fix test failure with --long --help
1 parent 64bd1b9 commit efad1c9

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

xtests/help_long

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,9 @@ LONG VIEW OPTIONS
1414
-u, --accessed use the accessed timestamp field
1515
-U, --created use the created timestamp field
1616
--time-style how to format timestamps (default, iso, long-iso, full-iso)
17+
--no-permissions suppress the permissions field
18+
--no-filesize suppress the filesize field
19+
--no-user suppress the user field
20+
--no-time suppress the time field
1721
--git list each file's Git status, if tracked or ignored
1822
-@, --extended list each file's extended attributes and sizes

xtests/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ $exa $testcases/git2/deeply/nested/repository -l --git 2>&1 | diff -q - $results
211211
$exa $testcases/git2/{deeply,ignoreds,target} -l --git 2>&1 | diff -q - $results/git_2_all || exit 1
212212

213213
# Regressions test
214-
$exa $testcases/git3 -l --git &>/dev/null || echo "Failed to display broken symlink in git repository"; exit 1
214+
$exa $testcases/git3 -l --git &>/dev/null || exit 1
215215

216216
COLUMNS=150 $exa $testcases/git/**/* $testcases --git --long --grid -d | diff -q - $results/git_1_files || exit 1
217217

0 commit comments

Comments
 (0)