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 | grep -v 'dbg' |
15 $ ls *.deb | grep -v 'dbg' |
16 mercurial-common_*.deb (glob) |
|
17 mercurial_*.deb (glob) |
16 mercurial_*.deb (glob) |
18 main deb should have .so but no .py |
17 should have .so and .py |
19 $ dpkg --contents mercurial_*.deb | egrep '(localrepo|parsers)' |
18 $ dpkg --contents mercurial_*.deb | egrep '(localrepo|parsers)' |
20 * ./usr/lib/python3/dist-packages/mercurial/cext/parsers*.so (glob) |
19 * ./usr/lib/python3/dist-packages/mercurial/cext/parsers*.so (glob) |
21 mercurial-common should have py but no .so or pyc |
|
22 $ dpkg --contents mercurial-common_*.deb | egrep '(localrepo|parsers.*so)' |
|
23 * ./usr/lib/python3/dist-packages/mercurial/localrepo.py (glob) |
20 * ./usr/lib/python3/dist-packages/mercurial/localrepo.py (glob) |
24 zsh completions should be in the common package |
21 * ./usr/lib/python3/dist-packages/mercurial/pure/parsers.py (glob) |
25 $ dpkg --contents mercurial-common_*.deb | egrep 'zsh.*[^/]$' |
22 should have zsh completions |
|
23 $ dpkg --contents mercurial_*.deb | egrep 'zsh.*[^/]$' |
26 * ./usr/share/zsh/vendor-completions/_hg (glob) |
24 * ./usr/share/zsh/vendor-completions/_hg (glob) |
27 chg should be installed alongside hg, in the 'mercurial' package |
25 should have chg |
28 $ dpkg --contents mercurial_*.deb | egrep 'chg$' |
26 $ dpkg --contents mercurial_*.deb | egrep 'chg$' |
29 * ./usr/bin/chg (glob) |
27 * ./usr/bin/chg (glob) |
30 chg should come with a man page |
28 chg should come with a man page |
31 $ dpkg --contents mercurial_*.deb | egrep 'man.*chg' |
29 $ dpkg --contents mercurial_*.deb | egrep 'man.*chg' |
32 * ./usr/share/man/man1/chg.1.gz (glob) |
30 * ./usr/share/man/man1/chg.1.gz (glob) |