aboutsummaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorJunichi Uekawa <dancer@netfort.gr.jp>2009-12-13 19:08:19 +0900
committerJunichi Uekawa <dancer@netfort.gr.jp>2009-12-13 19:09:12 +0900
commit49ad693cf2877b29a71d5c7ca32d049fc50a18cf (patch)
treec623f6ff0202f37bfe2ccdfb443b1be953b102e5 /testsuite
parentf5e4a7a7cd8a4350dcb1b129d7fc00a23d19ceb4 (diff)
downloadpbuilder-49ad693cf2877b29a71d5c7ca32d049fc50a18cf.tar
pbuilder-49ad693cf2877b29a71d5c7ca32d049fc50a18cf.tar.gz
narrow down the test a bit.
Diffstat (limited to 'testsuite')
-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 3471a7d..578d318 100755
--- a/testsuite/run-test.sh
+++ b/testsuite/run-test.sh
@@ -3,7 +3,14 @@
# estimated run-time on my PC; 1 hour
PBUILDER=/usr/sbin/pbuilder
+
+# ideal value
DEBOOTSTRAPS="debootstrap cdebootstrap"
+DISTRIBUTIONS="sid lenny squeeze"
+
+# override
+DEBOOTSTRAPS="debootstrap"
+DISTRIBUTIONS="sid squeeze"
log_success () {
CODE=$?
@@ -50,7 +57,7 @@ for DEBOOTSTRAP in $DEBOOTSTRAPS; do
: > ${RESULTFILE}
RESULTFILE=$(readlink -f ${RESULTFILE})
- for distribution in sid lenny squeeze; do
+ for distribution in ${DISTRIBUTIONS}; do
sudo ${PBUILDER} create $HOOKOPTION "${DEBOOTSTRAPOPTS[@]}" --mirror $mirror --debootstrap ${DEBOOTSTRAP} --distribution "${distribution}" --basetgz ${testimage} --logfile ${logdir}/pbuilder-create-${distribution}.log.orig
log_success create-${distribution}-${DEBOOTSTRAP}