aboutsummaryrefslogtreecommitdiff
path: root/testsuite/run-test.sh
diff options
context:
space:
mode:
authordancer <dancer>2004-01-11 15:03:03 +0000
committerdancer <dancer>2004-01-11 15:03:03 +0000
commitd74319c5f061742e8341ce9b610051a399bbf4b9 (patch)
treee6016e77077b27dab73b58353fac2c5747c0bd1d /testsuite/run-test.sh
parente205241f68bd9cae70a7187bcc10810604c98f59 (diff)
downloadpbuilder-d74319c5f061742e8341ce9b610051a399bbf4b9.tar
pbuilder-d74319c5f061742e8341ce9b610051a399bbf4b9.tar.gz
modifications to copyright notice, and
run-test.sh
Diffstat (limited to 'testsuite/run-test.sh')
-rwxr-xr-xtestsuite/run-test.sh8
1 files changed, 3 insertions, 5 deletions
diff --git a/testsuite/run-test.sh b/testsuite/run-test.sh
index e92295a..aa3d1fb 100755
--- a/testsuite/run-test.sh
+++ b/testsuite/run-test.sh
@@ -2,18 +2,16 @@
# This is a testsuite.
# estimated run-time on my PC; ?? minutes.
-PBUILDER=/usr/bin/pbuilder
+PBUILDER=/usr/sbin/pbuilder
vmstat -n 1 > vmstat &
VMSTATPID=$!
LC_ALL=C iostat -dxt hda > iostat &
IOSTATPID=$!
-sudo pbuilder test --configfile non-existing-configfile
-
if [ -x "${PBUILDER}" ]; then
for distribution in sid sarge; do
- sudo ${PBUILDER} create --mirror http://ring.asahi-net.or.jp/archives/linux/debian/debian --distribution "${distribution}" --basetgz $(pwd)/testimage --logfile ${PBUILDER}-create-${distribution}.log
+ sudo ${PBUILDER} create --mirror http://ring.asahi-net.or.jp/archives/linux/debian/debian --distribution "${distribution}" --basetgz $(pwd)/testimage --logfile pbuilder-create-${distribution}.log
for PKG in dsh; do
(
@@ -32,7 +30,7 @@ if [ -x "${PBUILDER}" ]; then
)
done
sudo ${PBUILDER} execute --basetgz $(pwd)/testimage --logfile pbuilder-execute-${distribution}.log ../examples/execute_paramtest.sh test1 test2 test3
- rm -rf testbuild testbuild2 testimage
+ sudo rm -rf testbuild testbuild2 testimage
done
fi