Commit Graph

6 Commits

Author SHA1 Message Date
Petr Lautrbach 2751df1935 no-plugin-exception-during-analyses: Fix indentation 2020-01-11 19:46:39 +01:00
Petr Lautrbach e4ba63e00b no-plugin-exception-during-analyses: Test sealert -a ./short.log
short.log exposes a problem with Plugin Exception in catchall_labels plugin

Covers "'generator' object is not subscriptable" in sealert output:

    $ sealert -a ./short.log
    100% done'generator' object is not subscriptable
    100% done
    found 2 alerts in ./short.log
    ...
2020-01-11 19:28:15 +01:00
Petr Lautrbach 77e7a0320c tests: Few no-plugin-exception-during-analyses improvements
- when first grep fails print journal as well
- check for setroubleshoot-server instead of setroubleshoot
- improve grep assert to match "passwd" and "/usr/bin/passwd"
2020-01-06 16:05:21 +01:00
Petr Lautrbach 8937bc78c8 tests: Report setroubleshoot-server version during no-plugin-exception-during-analyses 2020-01-06 09:49:41 +01:00
Petr Lautrbach 2602b87ed0 tests: Does setroubleshoot report any 'Plugin Exception' during analyses?
This test should cover cases when setroubleshoot reports "Plugin Exception"
during analyses, see https://bugzilla.redhat.com/show_bug.cgi?id=1784564

Example log with the reported problem:
    setroubleshoot[834]: Plugin Exception catchall_labels
    setroubleshoot[834]: Plugin Exception file
    setroubleshoot[834]: Plugin Exception openvpn
2020-01-03 15:57:56 +01:00
Vit Mojzis 7573f5f239 tests: Add Regression/embedded-null-byte-in-audit-records 2019-12-11 16:16:13 +01:00