/sssd/src/tests/intg/ |
H A D | util.py | 21 import os namespace 47 my_env = os.environ.copy() 52 my_env["_LD_LIBRARY_PATH"] = os.getenv("LD_LIBRARY_PATH", "") 53 my_env["_LD_PRELOAD"] = os.getenv("LD_PRELOAD", "") 65 if os.path.isdir(arg):
|
H A D | test_local_domain.py | 19 import os namespace 35 os.kill(pid, signal.SIGTERM) 38 os.kill(pid, signal.SIGCONT) 49 os.chmod(config.CONF_PATH, stat.S_IRUSR | stat.S_IWUSR) 50 request.addfinalizer(lambda: os.unlink(config.CONF_PATH)) 63 for path in os.listdir(config.DB_PATH): 64 os.unlink(config.DB_PATH + "/" + path) 65 for path in os.listdir(config.MCACHE_PATH): 66 os.unlink(config.MCACHE_PATH + "/" + path) 153 oldvalue = os [all...] |
H A D | test_secrets.py | 19 import os namespace 38 os.chmod(config.CONF_PATH, stat.S_IRUSR | stat.S_IWUSR) 39 request.addfinalizer(lambda: os.unlink(config.CONF_PATH)) 46 resp_path = os.path.join(config.LIBEXEC_PATH, "sssd", "sssd_secrets") 48 secpid = os.fork() 53 sock_path = os.path.join(config.RUNSTATEDIR, "secrets.socket") 68 os.kill(secpid, signal.SIGTERM) 69 for secdb_file in os.listdir(config.SECDB_PATH): 70 os.unlink(config.SECDB_PATH + "/" + secdb_file) 100 sock_path = os [all...] |
H A D | ds_openldap.py | 25 import os namespace 36 salt = os.urandom(4) 73 uid = os.geteuid() 74 gid = os.getegid() 189 os.makedirs(self.conf_slapd_d_dir) 190 os.makedirs(self.run_dir) 191 os.makedirs(self.data_dir) 270 os.kill(int(pid_file.read()), signal.SIGTERM) 274 while os.path.isfile(self.pid_path):
|
H A D | sssd_ldb.py | 19 import os namespace 44 db_path = os.path.join(config.DB_PATH, 47 db_path = os.path.join(config.DB_PATH,
|
H A D | test_netgroup.py | 20 import os namespace 124 os.chmod(config.CONF_PATH, stat.S_IRUSR | stat.S_IWUSR) 129 if os.path.lexists(config.CONF_PATH): 130 os.unlink(config.CONF_PATH) 162 os.kill(pid, signal.SIGTERM) 165 os.kill(pid, signal.SIGCONT) 171 for path in os.listdir(config.DB_PATH): 172 os.unlink(config.DB_PATH + "/" + path) 173 for path in os.listdir(config.MCACHE_PATH): 174 os [all...] |
H A D | test_ts_cache.py | 20 import os namespace 92 os.chmod(config.CONF_PATH, stat.S_IRUSR | stat.S_IWUSR) 93 request.addfinalizer(lambda: os.unlink(config.CONF_PATH)) 99 os.kill(pid, signal.SIGTERM) 102 os.kill(pid, signal.SIGCONT) 118 for path in os.listdir(config.DB_PATH): 119 os.unlink(config.DB_PATH + "/" + path) 120 for path in os.listdir(config.MCACHE_PATH): 121 os.unlink(config.MCACHE_PATH + "/" + path)
|
H A D | test_memory_cache.py | 19 import os namespace 77 os.chmod(config.CONF_PATH, stat.S_IRUSR | stat.S_IWUSR) 78 request.addfinalizer(lambda: os.unlink(config.CONF_PATH)) 84 os.kill(pid, signal.SIGTERM) 87 os.kill(pid, signal.SIGCONT) 103 for path in os.listdir(config.DB_PATH): 104 os.unlink(config.DB_PATH + "/" + path) 105 for path in os.listdir(config.MCACHE_PATH): 106 os.unlink(config.MCACHE_PATH + "/" + path) 767 for path in os [all...] |
H A D | ldap_local_override_test.py | 19 import os namespace 95 os.chmod(config.CONF_PATH, stat.S_IRUSR | stat.S_IWUSR) 96 request.addfinalizer(lambda: os.unlink(config.CONF_PATH)) 102 os.kill(pid, signal.SIGTERM) 105 os.kill(pid, signal.SIGCONT) 132 for path in os.listdir(config.DB_PATH): 133 os.unlink(config.DB_PATH + "/" + path) 134 for path in os.listdir(config.MCACHE_PATH): 135 os.unlink(config.MCACHE_PATH + "/" + path) 170 os [all...] |
H A D | test_enumeration.py | 19 import os namespace 152 os.chmod(config.CONF_PATH, stat.S_IRUSR | stat.S_IWUSR) 157 if os.path.lexists(config.CONF_PATH): 158 os.unlink(config.CONF_PATH) 185 os.kill(pid, signal.SIGTERM) 188 os.kill(pid, signal.SIGCONT) 194 for path in os.listdir(config.DB_PATH): 195 os.unlink(config.DB_PATH + "/" + path) 196 for path in os.listdir(config.MCACHE_PATH): 197 os [all...] |
H A D | test_ldap.py | 19 import os namespace 169 os.chmod(config.CONF_PATH, stat.S_IRUSR | stat.S_IWUSR) 174 if os.path.lexists(config.CONF_PATH): 175 os.unlink(config.CONF_PATH) 202 os.kill(pid, signal.SIGTERM) 205 os.kill(pid, signal.SIGCONT) 211 for path in os.listdir(config.DB_PATH): 212 os.unlink(config.DB_PATH + "/" + path) 213 for path in os.listdir(config.MCACHE_PATH): 214 os [all...] |
H A D | ent_test.py | 20 import os namespace 29 path = os.environ[name] 36 path = os.environ[name] 38 os.rename(backup_path, path)
|
/sssd/src/tests/ |
H A D | pysss_murmur-test.py | 24 import os namespace 27 BUILD_DIR = os.getenv('builddir') or "." 28 TEST_DIR = os.getenv('SSS_TEST_DIR') or "." 37 print (os.getcwd()) 54 src_module_path = os.path.abspath(src_module_path) 55 os.symlink(src_module_path, dest_module_path) 66 os.unlink(MODPATH + "/pysss_murmur.so") 67 os.rmdir(MODPATH)
|
H A D | python-test.py | 23 import os namespace 157 self.assertEquals(os.access("/home/%s" % self.username, os.F_OK), True) 171 self.assertEquals(os.access("/home/foobar", os.F_OK), True) 179 self.assertEquals(os.access("/home/%s" % self.username, os.F_OK), False) 189 fdo = os.fdopen(fd) 192 self.assertEquals(os.access(path, os [all...] |
H A D | pyhbac-test.py | 6 import os namespace 10 BUILD_DIR = os.getenv('builddir') or "." 11 TEST_DIR = os.getenv('SSS_TEST_DIR') or "." 63 src_module_path = os.path.abspath(src_module_path) 64 os.symlink(src_module_path, dest_module_path) 469 os.unlink(MODPATH + "/pyhbac.so") 470 os.rmdir(MODPATH)
|
/sssd/src/config/SSSDConfig/ |
H A D | sssd_upgrade_config.py | 23 import os namespace 45 os.chmod(file_name + self.backup_suffix, 0o600) 337 os.chmod(out_file_name, 0o600) 357 os.chmod(out_file_name, 0o600) 408 os.umask(0o077)
|
H A D | ipachangeconf.py | 21 import os namespace 30 flags = os.O_RDWR 32 flags = flags | os.O_CREAT 35 fd = os.open(filename, flags, perms) 41 os.close(fd) 45 return os.fdopen(fd, "r+")
|
/sssd/contrib/rhel/ |
H A D | update_debug_levels.py | 3 import os namespace
|
/sssd/src/config/ |
H A D | SSSDConfigTest.py | 8 import os namespace 15 srcdir = os.getenv('srcdir') 25 test_dir = os.environ.get('SSS_TEST_DIR') or "." 146 os.unlink(of) 154 mode = os.stat(of)[ST_MODE] 166 os.unlink(of) 184 os.unlink(of) 192 mode = os.stat(of)[ST_MODE] 204 os.unlink(of) 224 os [all...] |
/sssd/src/sbus/ |
H A D | sbus_codegen | 66 import os namespace 495 basename = os.path.basename(filename) 505 out("#include \"%s\"", os.path.basename(include_header)) 562 basename = os.path.basename(filename)
|