From 20ddcd3e8193624ab2150b91030c6a7f7fb01956 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 4 Oct 2018 01:44:32 +0100 Subject: test suite: Test that the binary packages can be built Signed-off-by: Ian Jackson --- tests/tests/package-build | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 tests/tests/package-build (limited to 'tests') diff --git a/tests/tests/package-build b/tests/tests/package-build new file mode 100755 index 0000000..0b87823 --- /dev/null +++ b/tests/tests/package-build @@ -0,0 +1,14 @@ +#!/bin/bash +set -e +. tests/lib + +t-restrict x-dgit-git-only + +mkdir $tmp/dgit +cd $root +git ls-files -z |xargs -0 cp --parents -t $tmp/dgit +cd $tmp/dgit + +dpkg-buildpackage -nc -uc -b + +echo ok. -- cgit v1.2.3