summaryrefslogtreecommitdiff
path: root/debian/tests
diff options
context:
space:
mode:
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,