FrontPage 

Fuego 1.0 wiki

Login or create account

function dump syslogs in split format

NAME [edit section]

= NAME =
dump_syslogs

SYNOPSIS [edit section]

= SYNOPSIS =
 * dump_syslogs <tmp_dir> "before"|"after"

DESCRIPTION [edit section]

= DESCRIPTION =
Save the current system log, on the target.
There are two syslogs saved, one before the test and one after. By subtracting these two from each other, one can tell what system log operations occurred during the execution of the test.
There are two syslogs saved, one before the test and one after.
By subtracting these two from each other, one can tell what system log
operations occurred during the execution of the test.
This function uses ov_rootfs_logread to save the system log in the /tmp directory on the target.
This function uses [[function_ov_rootfs_logread|ov_rootfs_logread]] to save
the system log in the /tmp directory on the target.

EXAMPLES [edit section]

= EXAMPLES =
Here are some sample invocations:
{{{#!YellowBox
    dump_syslogs ${fuego_test_tmp} before
}}}

ENVIRONMENT and ARGUMENTS [edit section]

= ENVIRONMENT and ARGUMENTS =
 * $1 is a temp dir on the target - the location where the log should be saved
 * $2 specifies which syslog to retrieve (either the 'before' syslog or the 'after' syslog).

RETURN [edit section]

= RETURN =
Returns non-zero on error.

SOURCE [edit section]

= SOURCE =
Located in ''scripts/functions.sh''

SEE ALSO [edit section]

pre_test, post_test, ov_rootfs_logread
= SEE ALSO =
 * [[function_pre_test|pre_test]], [[function_post_test|post_test]], [[function_ov_rootfs_logread|ov_rootfs_logread]]
TBWiki engine 1.8.3 by Tim Bird