summaryrefslogtreecommitdiffstats
path: root/debian/tests/import-hello.sh
diff options
context:
space:
mode:
Diffstat (limited to 'debian/tests/import-hello.sh')
-rwxr-xr-xdebian/tests/import-hello.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/debian/tests/import-hello.sh b/debian/tests/import-hello.sh
new file mode 100755
index 0000000..67cae23
--- /dev/null
+++ b/debian/tests/import-hello.sh
@@ -0,0 +1,18 @@
+#!/bin/sh
+set -e
+basedir=$(mktemp -d)
+cd $basedir
+mkdir -p conf
+cat <<EOF >> conf/distributions
+Origin: Ubuntu
+Label: Ubuntu
+Suite: impish
+Version: 21.10
+Codename: impish
+Architectures: amd64 arm64 armhf i386 ppc64el riscv64 s390x
+Components: main
+Description: Ubuntu Impish 21.10
+EOF
+reprepro -b $basedir createsymlinks
+apt-get download hello
+reprepro -b $basedir includedeb impish hello*.deb