(testsuite) Updated doc "Running tests via cron"
This commit is contained in:
parent
79cffa2d79
commit
36bdc2ecad
@ -107,9 +107,16 @@ owner and permissions of the tty:
|
|||||||
sudo chmod o+r /dev/tty40
|
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
|
* 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`
|
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
|
directory. This batch file only e-mails the output of each test-run if the
|
||||||
|
Loading…
x
Reference in New Issue
Block a user