diff tests/test-debian-packages.t @ 34405:9ecc622ca23f

deb: install zsh completions to /usr/share/zsh/vendor-completions This location is used by debian (and ubuntu) to store completions provided by other deb packages. The default fpath appears to have this before any of the zsh-provided instances of the completions, so this should take precedence. Differential Revision: https://phab.mercurial-scm.org/D882
author Kyle Lippincott <spectral@google.com>
date Sun, 01 Oct 2017 02:53:10 -0700
parents 13d3f8aaed87
children 0133ca39c688
line wrap: on
line diff
--- a/tests/test-debian-packages.t	Sun Oct 01 14:37:50 2017 +0100
+++ b/tests/test-debian-packages.t	Sun Oct 01 02:53:10 2017 -0700
@@ -21,3 +21,6 @@
 mercurial-common should have py but no .so or pyc
   $ dpkg --contents mercurial-common_*.deb | egrep '(localrepo|parsers.*so)'
   * ./usr/lib/python2.7/dist-packages/mercurial/localrepo.py (glob)
+zsh completions should be in the common package
+  $ dpkg --contents mercurial-common_*.deb | egrep 'zsh.*[^/]$'
+  * ./usr/share/zsh/vendor-completions/_hg (glob)