aboutsummaryrefslogtreecommitdiff
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
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
-rw-r--r--ChangeLog4
-rw-r--r--debian/changelog7
-rwxr-xr-xexamples/execute_installtest.sh31
3 files changed, 14 insertions, 28 deletions
diff --git a/ChangeLog b/ChangeLog
index 7518973..d29b924 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-04-22 Junichi Uekawa <dancer@debian.org>
+
+ * examples/execute_installtest.sh: update install test so that it can handle more than one packages.
+
2007-04-17 Junichi Uekawa <dancer@debian.org>
* debian/rules: remove amd64 from build rules.
diff --git a/debian/changelog b/debian/changelog
index 3f42730..4306d6a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,9 @@
pbuilder (0.167) UNRELEASED; urgency=low
- *
-
- -- Junichi Uekawa <dancer@debian.org> Tue, 17 Apr 2007 09:19:18 +0900
+ * examples/execute_installtest.sh: update to support multiple packages
+ as apt target.
+
+ --
pbuilder (0.166) unstable; urgency=low
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
-
-
-