From fa7ae123fdc9bc427a08131b865ab972c3cf13e8 Mon Sep 17 00:00:00 2001 From: Junichi Uekawa Date: Sun, 22 Apr 2007 22:00:49 +0900 Subject: update execute_installtest.sh to be more useful; support more than one package for install target --- ChangeLog | 4 ++++ debian/changelog | 7 ++++--- examples/execute_installtest.sh | 31 ++++++------------------------- 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 + + * examples/execute_installtest.sh: update install test so that it can handle more than one packages. + 2007-04-17 Junichi Uekawa * 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 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 - - - -- cgit v1.2.3