tests/test-debian-packages.t
changeset 34400 3d936da4f97b
parent 33204 ddd65b4f3ae6
child 34401 13d3f8aaed87
equal deleted inserted replaced
34399:200eadbcf0b0 34400:3d936da4f97b
    10   $ export OUTPUTDIR
    10   $ export OUTPUTDIR
    11 
    11 
    12   $ cd "$TESTDIR"/..
    12   $ cd "$TESTDIR"/..
    13   $ make deb > $OUTPUTDIR/build.log 2>&1
    13   $ make deb > $OUTPUTDIR/build.log 2>&1
    14   $ cd $OUTPUTDIR
    14   $ cd $OUTPUTDIR
    15   $ ls *.deb
    15   $ ls *.deb | grep -v 'dbg'
    16   mercurial-common_*.deb (glob)
    16   mercurial-common_*.deb (glob)
    17   mercurial_*.deb (glob)
    17   mercurial_*.deb (glob)
    18 main deb should have .so but no .py
    18 main deb should have .so but no .py
    19   $ dpkg --contents mercurial_*.deb | egrep '(localrepo|parsers)'
    19   $ dpkg --contents mercurial_*.deb | egrep '(localrepo|parsers)'
    20   * ./usr/lib/python2.7/dist-packages/mercurial/parsers*.so (glob)
    20   * ./usr/lib/python2.7/dist-packages/mercurial/cext/parsers*.so (glob)
    21 mercurial-common should have py but no .so or pyc
    21 mercurial-common should have py but no .so or pyc
    22   $ dpkg --contents mercurial-common_*.deb | egrep '(localrepo|parsers)'
    22   $ dpkg --contents mercurial-common_*.deb | egrep '(localrepo|parsers.*so)'
    23   * ./usr/lib/python2.7/dist-packages/mercurial/localrepo.py (glob)
    23   * ./usr/lib/python2.7/dist-packages/mercurial/localrepo.py (glob)