* hosts/* installed as examples with a big fat warning.
* adt-testreport-cronjob: renamed from hosts/cadmium/cronjob
* adt-testreport-runloop: copyright message.
+ * cfg and adt-testreport-runloop: do not cd in config files.
* hosts/cadmium/*, debian/rules: onepackage_config renamed to cfg.
-- Ian Jackson <ian@davenant.greenend.org.uk> Thu, 18 Oct 2007 17:17:31 +0100
-cd /home/iwj/adt-play
PATH=/home/iwj/autopkgtest/runner:/usr/local/sbin:/usr/sbin:$PATH
export PATH
# m h dom mon dow command
-4-59/5 * * * * autopkgtest/runner/adt-testreport-cronjob adt-play/cfg
+4-59/5 * * * * autopkgtest/runner/adt-testreport-cronjob adt-play cfg
22 0 * * Mon savelog -n7 adt-play/var/log adt-play/var/overall.log
58 7 * * * adt-play/cleanup
#!/bin/bash
#
-# This script expects to be given one argument, the name
-# of the config file which will set the PATH if necessary
-# and cd to the appropriate playground. This and all
-# remaining arguments are passed to a-t-r.
+# This script expects to be given at least two arguments:
+# directory to cd to
+# main config file for adt-testreport-runloop which sets PATH if need be
+# remaining arguments are passed through to a-t-r unchanged
set -e
+cd "$1"
+shift
. "$1"
-
exec >>var/overall.log 2>&1
test -f go
with-lock-ex -q cronjob-lock \
- adt-testreport-runloop "$@" max_test_count=100
+ adt-testreport-runloop max_test_count=100 "$@"
Configuration fragment authors should bear in mind that both programs
use \fBset -e\fR.
-It can be a good idea to \fBcd\fR, and set PATH, in the configuration
-file.
+It is quite permissible to set PATH and other needed environmnet
+variables in the configuration file.
The following variables may be set:
.TP