changeset 26147:a02c22e48142

test-debian-packages: new test for testing construction of debian packages
author Augie Fackler <augie@google.com>
date Tue, 25 Aug 2015 00:08:29 -0400
parents 8c91726caeae
children 7f49efcaa9b4
files tests/test-debian-packages.t
diffstat 1 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/test-debian-packages.t	Tue Aug 25 00:08:29 2015 -0400
@@ -0,0 +1,13 @@
+#require test-repo slow debhelper
+  $ OUTPUTDIR=`pwd`
+  $ export OUTPUTDIR
+
+  $ cd "$TESTDIR"/..
+  $ make deb > $OUTPUTDIR/build.log 2>&1
+  $ cd $OUTPUTDIR
+  $ ls *.deb
+  mercurial-*.deb (glob)
+  $ dpkg --contents mercurial*.deb | grep localrepo
+  * ./usr/lib/python2.7/site-packages/mercurial/localrepo.py (glob)
+  * ./usr/lib/python2.7/site-packages/mercurial/localrepo.pyc (glob)
+  $ rm -f *.deb build.log