URL:
https://github.com/freeipa/freeipa/pull/4127
Author: flo-renaud
Title: #4127: ipa tests: fix backup and restore
Action: opened
PR body:
"""
The tests for backup_and_restore check that the ipa-backup command
compresses the tar file AFTER restarting IPA services by reading the
output and looking for a pattern with "gzip" before "Starting IPA
service."
As the tar file name is randomly created, it sometimes happen that the
name contains gzip and in this case the test wrongly assumes that
the gzip cmd was called.
The fix makes a stricter comparison, looking for /bin/gzip.
Fixes:
https://pagure.io/freeipa/issue/8170
"""
To pull the PR as Git branch:
git remote add ghfreeipa
https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/4127/head:pr4127
git checkout pr4127