aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorJunichi Uekawa <dancer@dancer64.netfort.gr.jp>2007-04-22 22:00:49 +0900
committerJunichi Uekawa <dancer@dancer64.netfort.gr.jp>2007-04-22 22:00:49 +0900
commitfa7ae123fdc9bc427a08131b865ab972c3cf13e8 (patch)
tree04fd27e12a12f17095e76fa208e006d7d5ba8c7e /examples
parenta1eefd8a502e2f0bbe657bfde2ad36ab04444c4d (diff)
downloadpbuilder-fa7ae123fdc9bc427a08131b865ab972c3cf13e8.tar
pbuilder-fa7ae123fdc9bc427a08131b865ab972c3cf13e8.tar.gz
update execute_installtest.sh to be more useful; support more than one package for install target
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/execute_installtest.sh31
1 files changed, 6 insertions, 25 deletions
diff --git a/examples/execute_installtest.sh b/examples/execute_installtest.sh
index 8159b1a..c574e76 100755
--- a/examples/execute_installtest.sh
+++ b/examples/execute_installtest.sh
@@ -1,14 +1,13 @@
#!/bin/bash
# pbuilder example script.
-# Copyright 2003 Junichi Uekawa
+# Copyright 2003, 2007 Junichi Uekawa
#Distributed under GPL version 2 or later
-#before running this script, make sure you have an up-to-date system with
-# pbuilder update.
-# $Id$
+#before running this script, make sure you have an up-to-date system
+#with pbuilder update.
-
-# This will install a package using APT and see if that fails.
+# This will install a package using APT inside the chroot and see if
+# that fails. If it fails, it's wrong.
set -ex
@@ -19,25 +18,7 @@ INSTALLTESTPID=$$
( sleep 1h ; kill $INSTALLTESTPID ) &
KILLPID=$!
-apt-get install -y --force-yes "$1" < /dev/null
+apt-get install -y --force-yes "$@" < /dev/null
kill $KILLPID
-# known bugs according to Christian Perrier.
-
-# anacron MQ 134017
-# Base-passwd CP 184979
-
-# exim 86210
-# Kernel-package 115884
-# Sendmail CP ?
-# wvdial CP 219151
-
-# Nessusd CP 191925
-# Libssl0.9.7 ?
-
-# php4 122353
-# seyon 147269
-
-
-