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 --- examples/execute_installtest.sh | 31 ++++++------------------------- 1 file changed, 6 insertions(+), 25 deletions(-) (limited to 'examples') 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