# HG changeset patch # User Kyle Lippincott # Date 2017-10-01 11:37:56 # Node ID 3d936da4f97b8113a8a29fa31be887050ff3a345 # Parent 200eadbcf0b03205059c2528757edcd737ec4255 tests: expect parsers.so in cext, parsers.py in pure (test-debian-packages) Differential Revision: https://phab.mercurial-scm.org/D878 diff --git a/tests/test-debian-packages.t b/tests/test-debian-packages.t --- a/tests/test-debian-packages.t +++ b/tests/test-debian-packages.t @@ -12,12 +12,12 @@ Ensure debuild doesn't run the testsuite $ 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)