tests: expect parsers.so in cext, parsers.py in pure (test-debian-packages)
Differential Revision: https://phab.mercurial-scm.org/D878
--- a/tests/test-debian-packages.t Sun Oct 01 04:10:01 2017 -0700
+++ b/tests/test-debian-packages.t Sun Oct 01 04:37:56 2017 -0700
@@ -12,12 +12,12 @@
$ cd "$TESTDIR"/..
$ make deb > $OUTPUTDIR/build.log 2>&1
$ cd $OUTPUTDIR
- $ ls *.deb
+ $ ls *.deb | grep -v 'dbg'
mercurial-common_*.deb (glob)
mercurial_*.deb (glob)
main deb should have .so but no .py
$ dpkg --contents mercurial_*.deb | egrep '(localrepo|parsers)'
- * ./usr/lib/python2.7/dist-packages/mercurial/parsers*.so (glob)
+ * ./usr/lib/python2.7/dist-packages/mercurial/cext/parsers*.so (glob)
mercurial-common should have py but no .so or pyc
- $ dpkg --contents mercurial-common_*.deb | egrep '(localrepo|parsers)'
+ $ dpkg --contents mercurial-common_*.deb | egrep '(localrepo|parsers.*so)'
* ./usr/lib/python2.7/dist-packages/mercurial/localrepo.py (glob)