aboutsummaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authordancer <dancer>2005-11-29 13:59:09 +0000
committerdancer <dancer>2005-11-29 13:59:09 +0000
commit16e153031eff5cee2c20ba5cd5a4bd5c6b306976 (patch)
tree2d217108f17cb5a49d44b69f482f7488ee7aad3a /testsuite
parent81d8c57cdc8bfe0a5444d19d377ccd66cc881fd2 (diff)
downloadpbuilder-16e153031eff5cee2c20ba5cd5a4bd5c6b306976.tar
pbuilder-16e153031eff5cee2c20ba5cd5a4bd5c6b306976.tar.gz
update testsuite
Diffstat (limited to 'testsuite')
-rwxr-xr-xtestsuite/run-test.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/testsuite/run-test.sh b/testsuite/run-test.sh
index 8582cfa..1d938bf 100755
--- a/testsuite/run-test.sh
+++ b/testsuite/run-test.sh
@@ -25,7 +25,7 @@ testdir=$(TMPDIR=$(pwd) mktemp -d)
testimage=$testdir/testimage
testbuild=$testdir/dir1
testbuild2=$testdir/dir2
-
+testbuild3=$testdir/dir3
for DEBOOTSTRAP in debootstrap cdebootstrap; do
case $DEBOOTSTRAP in
@@ -63,13 +63,14 @@ for DEBOOTSTRAP in debootstrap cdebootstrap; do
(
mkdir ${testbuild2}
+ mkdir ${testbuild3}
cd ${testbuild2}
apt-get source ${PKG}
cd ${PKG}-*
- pdebuild --logfile ${logdir}/pdebuild-normal-${distribution}.log -- --basetgz ${testimage} --buildplace ${testbuild2}
+ pdebuild --logfile ${logdir}/pdebuild-normal-${distribution}.log -- --basetgz ${testimage} --buildplace ${testbuild3}
log_success pdebuild-${distribution}-${PKG}
- pdebuild --use-pdebuild-internal --logfile ${logdir}/pdebuild-internal-${distribution}.log -- --basetgz ${testimage} --buildplace ${testbuild2}
+ pdebuild --use-pdebuild-internal --logfile ${logdir}/pdebuild-internal-${distribution}.log -- --basetgz ${testimage} --buildplace ${testbuild3}
log_success pdebuild-internal-${distribution}-${PKG}
)
done
@@ -92,7 +93,7 @@ for DEBOOTSTRAP in debootstrap cdebootstrap; do
log_success update-${distribution}-sid-experimental.log
;;
esac
- sudo rm -rf ${testbuild} ${testbuild2} ${testimage}
+ sudo rm -rf ${testbuild} ${testbuild2} ${testimage} ${testbuild3}
done
done