aboutsummaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorJunichi Uekawa <dancer@netfort.gr.jp>2009-12-13 19:05:57 +0900
committerJunichi Uekawa <dancer@netfort.gr.jp>2009-12-13 19:05:57 +0900
commitf5e4a7a7cd8a4350dcb1b129d7fc00a23d19ceb4 (patch)
treeb6e09f08a3bef5cce15ac8b87880a0664938de5b /testsuite
parentc112e17669a8f247d4ae5c7007bfbf05cb945035 (diff)
downloadpbuilder-f5e4a7a7cd8a4350dcb1b129d7fc00a23d19ceb4.tar
pbuilder-f5e4a7a7cd8a4350dcb1b129d7fc00a23d19ceb4.tar.gz
move var debootstraps to make test more configurable.
Diffstat (limited to 'testsuite')
-rwxr-xr-xtestsuite/run-test.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/run-test.sh b/testsuite/run-test.sh
index 7c63b98..3471a7d 100755
--- a/testsuite/run-test.sh
+++ b/testsuite/run-test.sh
@@ -3,6 +3,7 @@
# estimated run-time on my PC; 1 hour
PBUILDER=/usr/sbin/pbuilder
+DEBOOTSTRAPS="debootstrap cdebootstrap"
log_success () {
CODE=$?
@@ -17,7 +18,6 @@ log_success () {
[ -x /usr/sbin/debootstrap ] || exit 1
[ -x /usr/bin/cdebootstrap ] || exit 1
-
mirror=http://localhost:9999/debian
testdir=$(TMPDIR=$(pwd) mktemp -d)
@@ -30,7 +30,7 @@ export testdir
HOOKOPTION=" --hookdir /usr/share/doc/pbuilder/examples/workaround"
-for DEBOOTSTRAP in debootstrap cdebootstrap; do
+for DEBOOTSTRAP in $DEBOOTSTRAPS; do
case $DEBOOTSTRAP in
debootstrap)
logdir=$(readlink -f normal/)