function syslog cmp in split format
|
|
= NAME =syslog_cmp
|
|
|
= SYNOPSIS =syslog_cmp
|
|
|
= DESCRIPTION =Compare the before and after system logs, and grep the differences(which should be the messages logged during the test) forlines containing 'Bug:' or 'Oops'. If these are found, print amessage and return an error.
|
|
Note that this function uses the file $FUEGO_CORE/engine/scripts/syslog.ignoreto filter out lines from the diff that should be ignored for thecheck of the logs.
|
Note that this function uses the file $FUEGO_CORE/engine/scripts/syslog.ignoreto filter out lines from the diff that should be ignored for thecheck of the logs.
|
|
This file should contain a list of patterns to be removed from the diffbefore the scan for 'Bug:' or 'Oops' lines in the file. The patternsare used with 'grep -Ef', and there should be one pattern per line inthe file.
|
This file should contain a list of patterns to be removed from the diffbefore the scan for 'Bug:' or 'Oops' lines in the file. The patternsare used with 'grep -Ef', and there should be one pattern per line inthe file.
|
|
|
= EXAMPLES =Here are some sample invocations:{{{#!YellowBoxsyslog_cmp}}}
|
|
|
= ENVIRONMENT and ARGUMENTS =This function uses the following variables: * $FUEGO_CORE * $LOGDIR
|
|
|
= RETURN =Returns non-zero on error.
|
|
|
= SOURCE =Located in ''scripts/functions.sh''
|
|
post_test
|
= SEE ALSO = * [[function_post_test|post_test]]
|