[PATCH 0/2] test: add support for zsh and zsh completion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have been running these zsh completion tests for many years in my
git-completion fork, and they have been sent before to the mailing list [1],
only to be ignored.

But by adding zsh support in the test library it's possible to run them in a
more straightforward way (directly in the test script, and not in a separate
zsh fork for every assert).

By running these tests it's easy to see the many issues the upstream zsh
completion code has (13 failures), all of which are fixed in git-completion.

[1] https://lore.kernel.org/git/20220830093138.1581538-3-felipe.contreras@xxxxxxxxx/

Felipe Contreras (2):
  test: fix build for zsh
  test: completion: add zsh tests

 t/t9904-completion-zsh.sh | 1143 +++++++++++++++++++++++++++++++++++++
 t/t9904/.gitignore        |    1 +
 t/t9904/.zshrc            |   51 ++
 t/t9904/_git              |    1 +
 t/test-lib.sh             |    5 +
 5 files changed, 1201 insertions(+)
 create mode 100755 t/t9904-completion-zsh.sh
 create mode 100644 t/t9904/.gitignore
 create mode 100644 t/t9904/.zshrc
 create mode 120000 t/t9904/_git

-- 
2.40.0




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux