freeipa/ipatests
Florence Blanc-Renaud ae140ae406 ipatests: fix backup and restore
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
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
2020-01-14 16:27:50 -05:00
..
azure Install language packs for tests 2019-10-17 08:29:06 +02:00
man Simplify ipa-run-tests script 2019-07-16 13:23:21 +03:00
prci_definitions prci: update packages for rawhide nightly runs 2020-01-03 09:43:40 -03:00
pytest_ipa Test for ipa-ca-install on replica 2019-12-23 12:56:30 +01:00
test_cmdline Test ipa-getkeytab quiet mode, encryptons 2019-12-20 16:17:42 +02:00
test_install Move ipachangeconf from ipaclient.install to ipapython 2019-08-28 22:15:50 -04:00
test_integration ipatests: fix backup and restore 2020-01-14 16:27:50 -05:00
test_ipaclient Fix Pytest4.x warning about message 2019-06-19 19:20:14 +10:00
test_ipalib Don't hard-code client's TLS versions and ciphers 2019-12-02 16:48:07 +01:00
test_ipaplatform Don't configure KEYRING ccache in containers 2019-01-18 11:33:11 +01:00
test_ipapython Check valid before/after of external certs 2019-12-10 16:23:31 +01:00
test_ipaserver Fix wrong use of identity operation 2019-09-04 10:30:07 +02:00
test_ipatests_plugins Fix errors found by Pylint-2.4.3 2019-10-21 18:01:32 +11:00
test_webui Skip paramiko tests in FIPS mode 2019-11-29 17:02:16 +01:00
test_xmlrpc Add xmlrpc test with input validation check for kerberos ticket policy. 2020-01-13 13:05:47 +01:00
__init__.py Make an ipa-tests package 2013-06-17 19:22:50 +02:00
conftest.py Make use of Azure Pipeline slicing 2019-07-16 13:23:21 +03:00
create_external_ca.py Test external CA with DNS name constraints 2019-08-06 12:39:46 +02:00
data.py Fix more bytes/unicode issues 2015-10-22 18:34:46 +02:00
i18n.py Sprinkle raw strings across the code base 2018-09-27 10:23:03 +02:00
ipa-run-tests Simplify ipa-run-tests script 2019-07-16 13:23:21 +03:00
ipa-test-config Rename pytest_plugins to ipatests.pytest_ipa 2018-08-02 17:07:43 +02:00
ipa-test-task Rename pytest_plugins to ipatests.pytest_ipa 2018-08-02 17:07:43 +02:00
Makefile.am Build: fix distribution of static files for web UI 2016-11-09 13:08:32 +01:00
setup.cfg Port all setup.py to setuptools 2016-10-20 18:43:37 +02:00
setup.py Simplify ipa-run-tests script 2019-07-16 13:23:21 +03:00
test_util.py Fix Pytest4.1+ warnings about pytest.config 2019-06-19 19:20:14 +10:00
util.py Removes several pylint warnings. 2019-09-27 09:38:32 +02:00