summaryrefslogtreecommitdiff
path: root/debian/tests
diff options
context:
space:
mode:
authorLuca Boccassi <bluca@debian.org>2020-03-14 10:46:18 +0000
committerLuca Boccassi <bluca@debian.org>2020-03-15 11:38:03 +0000
commit9decfc38b8544fb1f20ad72da06fe284b6f69ddf (patch)
tree5d208be5ffea846c53da436f80796ebdf5582be4 /debian/tests
parent0a353a7b460f96a15acbed8fc269560f2e9dec9c (diff)
downloadvyos-live-build-9decfc38b8544fb1f20ad72da06fe284b6f69ddf.tar.gz
vyos-live-build-9decfc38b8544fb1f20ad72da06fe284b6f69ddf.zip
Add autopkgtest: default image build
Diffstat (limited to 'debian/tests')
-rwxr-xr-xdebian/tests/build-default-image9
-rw-r--r--debian/tests/control3
2 files changed, 12 insertions, 0 deletions
diff --git a/debian/tests/build-default-image b/debian/tests/build-default-image
new file mode 100755
index 000000000..48f386f49
--- /dev/null
+++ b/debian/tests/build-default-image
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+set -eu
+set -o pipefail
+
+cd "${AUTOPKGTEST_TMP}"
+lb config --verbose
+lb build --verbose
+ls -l
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 000000000..932053d83
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,3 @@
+Tests: build-default-image
+Depends: live-build,
+Restrictions: needs-root, allow-stderr,