build.xml >> function_dump_syslogs 

Fuego 1.0 wiki

Login

function dump syslogs

NAME [edit section]

dump_syslogs

SYNOPSIS [edit section]

  • dump_syslogs <tmp_dir> "before"|"after"

DESCRIPTION [edit section]

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.

This function uses ov_rootfs_logread to save the system log in the /tmp directory on the target.

EXAMPLES [edit section]

Here are some sample invocations:
        dump_syslogs ${fuego_test_tmp} before

ENVIRONMENT and ARGUMENTS [edit section]

  • $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]

Returns non-zero on error.

SOURCE [edit section]

Located in scripts/functions.sh

SEE ALSO [edit section]

TBWiki engine 1.9.2 by Tim Bird