component: - audit framework: beakerlib require: - url: https://gitlab.cee.redhat.com/special-projects/tests/audit name: /Library/testing type: library - audit adjust: - enabled: false when: distro == rhel-4, rhel-5, rhel-6, rhel-alt-7 continue: false - enabled: false when: arch != x86_64 continue: false contact: - Ondrej Moris description: |- Audit lib provides the following function in API for auparse: * int ausearch_add_expression(auparse_state_t *au, const char *expression, char **error, ausearch_rule_t how); This is a sanity test for this function. Currently only the supported fields are virtual ones and *uid and *gid. We are testing the following * logical operators !, && and ||; * comparison operators <, <=, ==, >, >=, !==, i=, i!=, r= and r!=; * virtual fields \timestamp, \timestamp_ex and \record_type; * actual fields: *uid and *gid. duration: 5m enabled: true extra-nitrate: TC#0562620 extra-summary: /CoreOS/audit/Sanity/ausearch-expression extra-task: /CoreOS/audit/Sanity/ausearch-expression link: - relates: https://bugzilla.redhat.com/show_bug.cgi?id=1399314 recommend: - audit - audit-libs-devel - gcc summary: Sanity test for ausearch expression API tag: - CI-Tier-1 - NoRHEL4 - NoRHEL5 - NoRHEL6 - TIPpass - Tier1 - Tier1security test: ./runtest.sh tier: '1' name: /Sanity/ausearch-expression order: 50 id: path: /Sanity/ausearch-expression manual: false tty: false environment: {} result: respect where: check: [] restart-on-exit-code: [] restart-max-count: 1 restart-with-reboot: false sources: - /var/tmp/tmt/run-017/Plans/general/discover/Downstream_audit_tests/tests/main.fmf - /var/tmp/tmt/run-017/Plans/general/discover/Downstream_audit_tests/tests/Sanity/ausearch-expression/main.fmf context: {}