Logs for Automated tests

Michael Tautschnig mt at debian.org
Sat Oct 22 23:12:55 CEST 2011


Hi,

[...]
> >I've just implemented some Automated tests.
> >
> >the doc(1) say: "Test scripts are called via fai-do-scripts(1) and
> >should append it's messages to $LOGDIR/test.log".
> >
> >But I've found that the logs are appended to $LOGDIR/shell.log
> 
[...]
> 
> Fai use fai-do-scripts command and expect logs to be outputted in
> $LOGDIR/test.log (see the if statement)
> 
[...]

Well, FAI doesn't actually expect fai-do-scripts directly to produce the output
in test.log - rather the scripts themselves should write to this file. That is,
make the scripts write to a file instead of expecting stdout/stderr to be
redirected for your.

Hope this helps,
Michael

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.uni-koeln.de/pipermail/linux-fai-devel/attachments/20111022/cafcd1cb/attachment.bin>


More information about the linux-fai-devel mailing list