(testsuite) Updated doc "Running tests via cron"

This commit is contained in:
Freddy Vulto 2009-11-02 19:56:55 +01:00
parent 79cffa2d79
commit 36bdc2ecad

View File

@ -107,9 +107,16 @@ owner and permissions of the tty:
sudo chmod o+r /dev/tty40
-------------------------
To start the test at 01:00, set the crontab to this:
To make this permission permanent (at least on Debian) - and not revert back on
reboot - create the file `/etc/udev/rules.d/10-mydejagnu.rules`, containing:
----------------------------
KERNEL=="tty40", MODE="0666"
----------------------------
To start the test at 01:00, set the crontab to this:
----------------------------
* 1 * * * cd bash-completion/test && ./cron.sh < /dev/tty40
----------------------------
Here's an example batch file `cron.sh`, to be put in the bash-completion `test`
directory. This batch file only e-mails the output of each test-run if the