freeipa/ipatests
Florence Blanc-Renaud 79fb0cc663 ipautil.run: add test for runas parameter
Add a test for ipautil.run() method called with runas parameter.
The test is using ipautil.run() to execute /usr/bin/id and
checks that the uid/gid are consistent with the runas parameter.

Note that the test needs to be launched by the root user
(non-privileged user may not have the rights to execute ipautil.run()
with runas parameter).

Related to: https://pagure.io/freeipa/issue/7681

Reviewed-By: Rob Crittenden <rcritten@redhat.com>
2018-08-23 12:06:45 +02:00
..
man Replace ntpd with chronyd in installation 2018-04-09 11:00:02 -04:00
prci_definitions PRCI: extend timeouts for gating 2018-08-08 13:03:47 +02:00
pytest_ipa Disable DL0 specific tests 2018-08-13 18:49:05 +02:00
test_cmdline Load certificate files as binary data 2018-04-30 20:42:00 +02:00
test_install ipa-client-install: Update how comments are added by ipachangeconf 2018-07-05 19:42:43 +02:00
test_integration test: client uninstall fails when installed using non-existing hostname 2018-08-23 08:21:22 +02:00
test_ipaclient csrgen: fix when attribute shortname is lower case 2018-04-25 14:41:12 +02:00
test_ipalib Add support for format method to translation objects 2018-06-21 15:30:58 +02:00
test_ipaplatform Add absolute_import future imports 2018-04-20 09:43:37 +02:00
test_ipapython ipautil.run: add test for runas parameter 2018-08-23 12:06:45 +02:00
test_ipaserver ipatests/test_ipaserver/test_install/test_installer.py: Drop tempfile import 2018-08-13 12:35:06 +02:00
test_webui WebUI Tests stabilize 2018-08-07 16:31:03 +02:00
test_xmlrpc Convert members into types in sudorule-*-option 2018-08-15 12:52:52 +02:00
__init__.py Make an ipa-tests package 2013-06-17 19:22:50 +02:00
conftest.py Rename pytest_plugins to ipatests.pytest_ipa 2018-08-02 17:07:43 +02:00
create_external_ca.py Check if issuer DN is updated after self-signed > external-ca 2018-06-25 10:37:58 +02:00
data.py Fix more bytes/unicode issues 2015-10-22 18:34:46 +02:00
i18n.py Have all the scripts run in python 3 by default 2018-02-15 18:43:12 +01:00
ipa-run-tests Fix compatibility with latest pytest 2018-03-23 13:08:39 +01: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 Rename pytest_plugins to ipatests.pytest_ipa 2018-08-02 17:07:43 +02:00
test_util.py Pythhon3.7: re module has no re._pattern_type 2018-06-29 17:20:19 +02:00
util.py Apply sane LDAP settings to C code 2018-05-29 15:30:37 +02:00