function dump syslogs
- dump_syslogs <tmp_dir> "before"|"after"
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.
- $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).
Note that post_test may use the value of FUEGO_TARGET_TMP to set the value for $1 ($test_temp_dir).