aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtestsuite/run-test.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/testsuite/run-test.sh b/testsuite/run-test.sh
index 578d318..aed2ed9 100755
--- a/testsuite/run-test.sh
+++ b/testsuite/run-test.sh
@@ -25,7 +25,14 @@ log_success () {
[ -x /usr/sbin/debootstrap ] || exit 1
[ -x /usr/bin/cdebootstrap ] || exit 1
-mirror=http://localhost:9999/debian
+case "`hostname --fqdn`" in
+ *.dooz.org)
+ mirror=http://ftp.de.debian.org/debian
+ ;;
+ *)
+ mirror=http://localhost:9999/debian
+ ;;
+esac
testdir=$(TMPDIR=$(pwd) mktemp -d)
testimage=$testdir/testimage