aboutsummaryrefslogtreecommitdiff
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
parent81d8c57cdc8bfe0a5444d19d377ccd66cc881fd2 (diff)
downloadpbuilder-16e153031eff5cee2c20ba5cd5a4bd5c6b306976.tar
pbuilder-16e153031eff5cee2c20ba5cd5a4bd5c6b306976.tar.gz
update testsuite
-rw-r--r--ChangeLog8
-rwxr-xr-xtestsuite/run-test.sh9
2 files changed, 13 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 9d962b0..4753bee 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2005-11-28 Junichi Uekawa <dancer@debian.org>
+
+ * testsuite/run-test.sh: run pdebuild-internal on one directory
+ and use another directory for build place.
+ I don't know why but it's started to fail running since 28 Nov..?
+ pdebuild internal sid fails to umount the bind-mount. -- this was
+ fixed in 29 Nov run. Strange.
+
2005-11-16 Junichi Uekawa <dancer@debian.org>
* pbuilder-buildpackage-funcs: test if /etc/shadow already exists
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