##// END OF EJS Templates
test-debian-packages: new test for testing construction of debian packages
test-debian-packages: new test for testing construction of debian packages

File last commit:

r26146:8c91726c default
r26147:a02c22e4 default
Show More
test-docker-packaging.t
19 lines | 579 B | text/troff | Tads3Lexer
/ tests / test-docker-packaging.t
Augie Fackler
test-docker-packaging: test packages built using docker...
r26146 #require test-repo slow docker
$ OUTPUTDIR=`pwd`
$ export OUTPUTDIR
$ cd "$TESTDIR"/..
$ make docker-debian-jessie > $OUTPUTDIR/build.log 2>&1
$ cd $OUTPUTDIR
$ ls *.deb
mercurial-*.deb (glob)
We check debian package contents with portable tools so that when
we're on non-debian machines we can still test the packages that are
built using docker.
$ ar x mercurial*.deb
$ tar tf data.tar* | grep localrepo | sort
./usr/lib/python2.7/site-packages/mercurial/localrepo.py
./usr/lib/python2.7/site-packages/mercurial/localrepo.pyc
$ rm -f *.deb build.log