summaryrefslogtreecommitdiffstats
path: root/debian/tests/build-procenv
diff options
context:
space:
mode:
Diffstat (limited to 'debian/tests/build-procenv')
-rw-r--r--debian/tests/build-procenv4
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/tests/build-procenv b/debian/tests/build-procenv
index 73f7e25..1074184 100644
--- a/debian/tests/build-procenv
+++ b/debian/tests/build-procenv
@@ -112,6 +112,10 @@ if [ -z "$http_proxy" ]; then
fi
echo "INFO: Creating sbuild chroot '$chroot' for release '$release' in directory '$dir' from url '$url'"
+
+# Test if there is actually a release for that architecture
+wget --quiet --spider "$url/dists/$release/main/binary-$arch/Release" || exit 77
+
[ -n "$components" ] && components="--components=$components"
# avoid "debconf: delaying package configuration, since apt-utils is not installed"
runuser -u "$AUTOPKGTEST_NORMAL_USER" -- sudo sbuild-createchroot $components "$release" "$dir" "$url"