summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2023-03-23 12:07:06 +0100
committerHelmut Grohne <helmut@subdivi.de>2023-03-23 12:07:06 +0100
commit214538d0179590bdddc4255bb15a235c88b27468 (patch)
tree28d5a3cc897bc5d857babb8e9934cd64157042e1 /tests
parentb5ba38b0b6813a3331a519899ed7cbe6c863d0ac (diff)
downloaddebvm-214538d0179590bdddc4255bb15a235c88b27468.tar.gz
tests: jessie has moved to archive.debian.org
Diffstat (limited to 'tests')
-rwxr-xr-xtests/create-and-run.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/create-and-run.sh b/tests/create-and-run.sh
index 1db551d..8d30d7f 100755
--- a/tests/create-and-run.sh
+++ b/tests/create-and-run.sh
@@ -24,7 +24,9 @@ case "$ARCHITECTURE" in
# Booting an armel kernel on qemu is next to impossible.
armel) ARCHITECTURE=armel,armhf ;;
esac
-debvm-create -k "$SSH_KEYPATH.pub" -o "$IMAGE" -r "$RELEASE" -- --architectures="$ARCHITECTURE"
+MIRROR=
+test "$RELEASE" = jessie && MIRROR=http://archive.debian.org/debian
+debvm-create -k "$SSH_KEYPATH.pub" -o "$IMAGE" -r "$RELEASE" -- --architectures="$ARCHITECTURE" $MIRROR
SSH_PORT=2222
timeout 300s debvm-run -s "$SSH_PORT" -i "$IMAGE" &