summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/create-and-run.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/create-and-run.sh b/tests/create-and-run.sh
index 2553a21..1d0a56d 100755
--- a/tests/create-and-run.sh
+++ b/tests/create-and-run.sh
@@ -28,6 +28,16 @@ if test "$ARCHITECTURE" = armel; then
# Booting an armel kernel on qemu is next to impossible.
ARCHITECTURE=armel,armhf
fi
+if test "$ARCHITECTURE" = i386; then
+ case "$RELEASE" in
+ jessie|stretch|buster|bullseye|bookworm)
+ ;;
+ *)
+ # i386 no longer has a kernel
+ ARCHITECTURE=i386,amd64
+ ;;
+ esac
+fi
case "$RELEASE" in
jessie|stretch)
MIRROR=http://archive.debian.org/debian