https://polarion.engineering.redhat.com/polarion/#/project/MTAPathfinder/workitem?id=MTA-916
Goal:
When the command itself fails (non-zero exit), the audit log is still created and written to.
How to trigger failure:
Run transform with a --export-dir that does not exist → command fails.
Assertions:
- command returns an error
- auditLogPath exists (BeAnExistingFile())
- audit log contains at least one entry
Note: No redundant checks for permissions or JSON validity — Test 1 covers those.
https://polarion.engineering.redhat.com/polarion/#/project/MTAPathfinder/workitem?id=MTA-916
Goal:
When the command itself fails (non-zero exit), the audit log is still created and written to.
How to trigger failure:
Run transform with a --export-dir that does not exist → command fails.
Assertions:
Note: No redundant checks for permissions or JSON validity — Test 1 covers those.