add base system logging test
ClosedPublic

Authored by jsedlak on May 31 2017, 1:50 PM.

Details

Summary

This adds base system logging test. It tests whether journalctl shows
some output and if rsyslog is present, it checks if /var/log/secure is present and
non-empty.

Test Plan

run base_system_logging test

Diff Detail

Repository
rOPENQATESTS os-autoinst-distri-fedora
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
jsedlak created this revision.May 31 2017, 1:50 PM
adamwill accepted this revision.May 31 2017, 3:25 PM

lgtm! thanks.

templates
385

this priority should probably be higher like the others...

tests/base_system_logging.pm
15

This could fail falsely if rsyslog is installed but not enabled, but...we can worry about that if it ever happens, I guess :)

This revision is now accepted and ready to land.May 31 2017, 3:25 PM
This revision was automatically updated to reflect the committed changes.