aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authordancer <dancer>2004-01-18 23:31:03 +0000
committerdancer <dancer>2004-01-18 23:31:03 +0000
commit88d22ba86f0ec516af2dc0cbd2a1f209c41de40c (patch)
treeb61ffda904dabb7dfa8006680c915c3d039cca15 /examples
parentaf3bb651833765c2070d80695c87bb31dc6a36b8 (diff)
downloadpbuilder-88d22ba86f0ec516af2dc0cbd2a1f209c41de40c.tar
pbuilder-88d22ba86f0ec516af2dc0cbd2a1f209c41de40c.tar.gz
+2004-01-19 Junichi Uekawa <dancer@debian.org>
+ + * pdebuild-user-mode-linux.1: document + + * pdebuild.1: document + + * pdebuild-internal: add support for DEBBUILDOPTS + + * pdebuild-user-mode-linux: add support for DEBBUILDOPTS + remove '|| true ' from dpkg-source invocation + + * pdebuild: --debbuildopts support. + + * examples/execute_installtest.sh (KILLPID): add killing routine; + change it to reboot, to get a reboot done. +
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/execute_installtest.sh10
1 files changed, 8 insertions, 2 deletions
diff --git a/examples/execute_installtest.sh b/examples/execute_installtest.sh
index 379e201..aef24a5 100755
--- a/examples/execute_installtest.sh
+++ b/examples/execute_installtest.sh
@@ -10,13 +10,19 @@
# This will install a package using APT and see if that fails.
-
-
set -ex
+
+# practically, killing is not enough, do a reboot here instead.
echo 'nobody@nowhere' > /etc/mailname
echo '$Id'
+INSTALLTESTPID=$$
+( sleep 1h ; kill $INSTALLTESTPID ) &
+KILLPID=$!
+
apt-get install -y "$1" < /dev/null
+kill $KILLPID
+
# known bugs according to Christian Perrier.
# anacron MQ 134017