diff options
-rw-r--r-- | ChangeLog | 8 | ||||
-rwxr-xr-x | testsuite/run-test.sh | 9 |
2 files changed, 13 insertions, 4 deletions
@@ -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 |