Sfoglia il codice sorgente

Fix integration test suite

• Fix script problem with shell operator precedence with Git repo symlinks
• Fix test failure with --long --help
Benjamin Sago 6 anni fa
parent
commit
efad1c9e4e
2 ha cambiato i file con 5 aggiunte e 1 eliminazioni
  1. 4 0
      xtests/help_long
  2. 1 1
      xtests/run.sh

+ 4 - 0
xtests/help_long

@@ -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

+ 1 - 1
xtests/run.sh

@@ -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