chiark / gitweb /
test suite: Test that the binary packages can be built
[dgit.git] / tests / tests / package-build
1 #!/bin/bash
2 set -e
3 . tests/lib
4
5 t-restrict x-dgit-git-only
6
7 mkdir $tmp/dgit
8 cd $root
9 git ls-files -z |xargs -0 cp --parents -t $tmp/dgit
10 cd $tmp/dgit
11
12 dpkg-buildpackage -nc -uc -b
13
14 echo ok.